c-practice/stdinfile.c

12 lines
163 B
C
Raw Normal View History

2020-12-02 15:11:40 -06:00
#include <stdio.h>
int main() {
int c = getc(stdin);
while (c != EOF) {
putchar(c);
c = getc(stdin);
}
getchar();
return 0;
}