solutions/The C Programming Language/1.6.c

7 lines
79 B
C

#include <stdio.h>
main()
{
printf("EOFing is 1: %d\n", getchar() != EOF);
}