finished 1-11
[KandRexercises.git] / getcharvals.c
blob20fcd3131227ca9c9476a6326dd7cc2e41f96d6c
1 #include <stdio.h>
3 main() {
4 /* exercise 1-6: verify value of getchar() != EOF */
5 printf("%d\n", (getchar() != EOF));
7 /* exercise 1-7: print value of EOF */
8 printf("%d\n", EOF);