#include #include main() { /* Copy standard input to standard output, one character at a time. */ int c; while ((c = getchar()) != EOF) { putchar(c); } /* Copy standard input to standard output, one word at a time. */ char word[256]; while (scanf("%s", word) == 1) { prinf("%s\n", word); } /* Copy standard input to standard output, one line at a time. */ char line[1024]; while (gets(line) != NULL) { puts(line); } return EXIT_SUCCESS; }