C Program to read the content of file using fgets


Output :

Explanation :