Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 187 Bytes
// Section 1.5.1 Example 1 from page 16
#include <stdio.h>
// Copy input to output; 1st version
main() {
int c;
c = getchar();
while (c != EOF) {
putchar(c);
c = getchar();
}
}