open
prime
for writing
f_ptr = fopen("prime","w");