Section 1.5.1 File Copying

Program

#include <stdio.h>

int main() {
    int c;
    c = getchar();
    while (c != EOF) {
        putchar(c);
        c = getchar();
    }
}

Explanation

This document was updated on 18 Oct of 23