Skip to content

Glossary: C Basics

EOF

Also written: end of file

The value getchar returns when the input has ended, such as a closed pipe or a file with nothing left. Loops check for it so they don't run forever.

Where the book teaches it

Related terms

getcharStandard streams