C Count Characters Program While Loop Not Terminating On Eof

C Count Characters Program While Loop Not Terminating On Eof