exc/k&r/01-a-tutorial-introduction/01-06.c

7 lines
74 B
C

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