Skip to content

Glossary: C Basics

getchar

A function that reads one character from the input. It is often used in a loop to throw away the rest of a bad line of input.

Where the book teaches it

Related terms

EOFscanf