Learn To Solve It
#include <stdio.h> int main() { int c; c = getchar(); while (c != EOF) { putchar(c); c = getchar(); } }
See also
Suggest a Code Improvement: sec_1.5.1_File_Copying.c
Suggest a better explanation for sec_1.5.1_File_Copying.rst
This document was updated on 20 May of 22
previous
Section 1.5 Character Input and Output
next
Exercise 1.6 - Verify the value of EOF