
feof function in c programming is used for file handling. feof c use to find the end of an file.Syntax for feof c program :-
int feof(FILE *fp)
Example program for feof function in c
# include <stdio.h>
int main( )
{
FILE *fp ;
char c ;
printf( "Opening the file test.c...