I want to write multiple structures to a single file. I used fwrite function and append mode. The writing process is done without any error. How can i read the specific structure. Which means if i want to read the third structure that i wrote to file, how can i do it. I used fseek function and try to find the third position and read it using fread. But it didn’t worked. Please can anyone help me.
Share
1 Answer