blob: eeade8e941b91fcb139a32c438e50d161b8e9f52 (
plain) (
tree)
|
|
#include <stdio.h>
/* Copy input to output; 1st version */
//main() {
// int c;
//
// c = getchar();
//
// while (c != EOF) {
// putchar(c);
// c = getchar();
// }
//}
/* Copy input to output; 2nd version */
main() {
int c;
while ((c = getchar()) != EOF) {
putchar(c);
}
}
//main() {
// printf("%d", EOF);
// getchar();
// printf("%d", getchar());
// printf("%d", getchar());
//}
|