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 20 May of 22