To mess with Quzah!
No, I'm kidding. I use an old version of Turbo C for these little forum programs, and it needs that (void) getchar() to
1) hold the console window open (otherwise it closes so fast you can't read it), and
2) the (void) removes an unwanted warning, without having to type any pragma's to remove it. I like the warnings on (all of them), but not for this line of code.