1 2 3 4 5 6 7 8 9 10 11 12 13
#include <stdio.h> /* The C Programming Language, 2nd Edition * * Exercise 1-7: Write a program to print the value of EOF. * * Answer: Just cast it to an integer placeholder in printf(). */ int main(void) { printf("%d\n", EOF); return 0; }