/* Write a program to print the value of EOF. */ #include <stdio.h> main() { printf("EOF is %d ", EOF); } /* Output: EOF is -1 */