c_exercises/1-6.c

8 lines
97 B
C
Raw Permalink Normal View History

2022-11-05 17:51:37 -03:00
#include <stdio.h>
int main(){
int c;
c=(getchar() != EOF);
printf("%d", c);
return 0;
}