Left off at exercise 1-8

This commit is contained in:
kdeng00
2020-09-01 23:45:23 -04:00
parent 0d53df1c65
commit c3c85aae8e
2 changed files with 32 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/*
*
* Exercise 1-6. Verify that the expression getchar() != EOF is 0 or 1
*
* Author: Kun Deng
*/
#include <stdio.h>
int main()
{
printf("expression getchar() != EOF is %d\n", (getchar() != EOF));
return 0;
}