open
reversedprime
for writing
(2) fr_ptr = fopen("reversedprime","w");