I like to know how to move the file pointer(FILE *)
to the nth record or line of a file.
fseek() moves the file pointer to the number of bytes
from the file location.
I do not know how many bytes does a line(or record) has.
I read the file by fgets().
This helps in reading the file line by line.
Suppose I have moved the file pointer to 5th Line using fgets(),
now I want to move the file pointer to 2nd Line or to the 9th line
of the file.
How can I do this.
Thanks for your suggestions.