Which method can be used to read one line at a time from a file in C?
I am using the fgets function, but it\'s not working. It\'s reading the space
use either fgets if you know that your lines will fit into buffer or use fgetc for more control over reading
fgets
fgetc