diff options
Diffstat (limited to '1/7.c')
| -rw-r--r-- | 1/7.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ + +#include <stdio.h> + +int main(int argc, char *argv[]) { + int c; + + while ((c = getchar()) != EOF) { + putchar(c); + } + + printf("Value of EOF: %d\n", c); + return 0; +}
\ No newline at end of file |
