diff --git a/KNR C/ex1_7.c b/KNR C/ex1_7.c new file mode 100644 index 0000000..7e56bc8 --- /dev/null +++ b/KNR C/ex1_7.c @@ -0,0 +1,9 @@ +#include + +int main(){ + + int a = getchar() != EOF; + printf("%d", a); + +return 0; +}