getchar

Full prototype:

int getchar(void);  

Purpose and Notes:

Gets the next character from the stream associated with stdin. Functionally the exact same as getc() with stdin as its argument. Returns the character on success and EOF on EOF and error while setting any EOF or error for stdin.

Returns:

int-The character read from the stream stdin.

Argument 1:

void-No arguments.

Example 1
  1    FILLER SOURCE CODE
FILLER TERMINAL