Home Forums C Programming Reading and sorting records from a file Reply To: Reading and sorting records from a file

#3219
dham ampatuan
Participant

If you’re doing it in a loop, probably you have forgotten to update the file pointer.
use fseek (man fseek) for the same.