Means to Learn
This tutorial will show you how to detect end of file (EOF) .
Detection of End of file condition is necessary for preventing any further attempt to read data from the file .
The end of file can be detected in two ways.
The examples shows the two ways in which the end of file can be detected.

