It\'s my first time posting here, so hopefully this goes as intended.
I\'m doing one of the early exercises from K&R. The objective is to use getchar() to get a
while (c != EOF) ends after hitting EOF. Try pressing Ctrl + D after some input.
while (c != EOF)
EOF
Ctrl + D