796 shaares
Here is the simple trick to read the text file line by line. For this I am going to use the fopen() and fgets() function.
This is code snippet I am going to take one text file and read it line by line.
This is code snippet I am going to take one text file and read it line by line.