Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Exercsise 1-6. Verify that the expression getchar() != EOF is 0 or 1.*/
- #include <stdio.h>
- int main()
- {
- int c;
- while ((c = getchar()) != EOF);
- printf ("c = %d\n", c);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment