summaryrefslogtreecommitdiff
path: root/ex1-6.c
blob: 73e9010c9ed09bfaa9523fdc666ed06571220382 (plain)
1
2
3
4
5
6
7
#include <stdio.h>
int main(void) {
  while (1) {
    printf("%d\n", getchar()==EOF);
  }
  return 0;
}