Why do I need getchar(); in this example?

Printable View