C program to print the value of eof

C program to print the value of eof


Output:

value of EOF is -1

Implementation: