Hi Paolas
Your problem can be solved easily if you are writing into file by a fixed length array. Then what you have to do is that which ever line you have to read first set your file pointer to that position.
Like
chat arr[50];
FILE *fp = fopen(filename,"r");
fseek(fp,(sizeof(arr)...