I\'ve been reading \"The C Programming Language\" and I got to this part of inputs and outputs.
I\'ve read other threads saying that the console doesn\'t recognize e
To recognize EOF in Turbo C++, in the terminal window press Ctrl+z; this will act as EOF in the program and then terminate the program....with the condition:
while ((c = getchar()) != EOF)