Triggering EOF From Keyboard Input (Terminal)
I’m a new[er] programmer and going through K&R’s “ANSI C” 2nd edition book. The example has the following program that counts characters using getchar() until EOF is reached.
I’m a new[er] programmer and going through K&R’s “ANSI C” 2nd edition book. The example has the following program that counts characters using getchar() until EOF is reached.