Added an example with a struct.
[C-Programming-Examples.git] / test_get_char.c
blob364cfa1138532723ed05a6ee4147c8b9df8f1be6
1 #include <stdio.h>
3 main()
5 int test;
6 int c;
8 test = getchar() != EOF;
10 printf("%d\n", test);