I have been following the examples in Kernighan and Ritchie
How do I invoke the EOF in the examples of the first chapter in this compiler?
The value of EOF in printf statement was -1
I am not able to make the programs in the first chapter work as i cannot terminate the loop by deliberately keying in the EOF value