Left off at exercise 1-8
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user