I have used fgets() to read the file line by line into an array. My question is how to get the first line of from the array and stored in a structure.
How to extract the file line from a file using C
Collapse
X
Comment