getchar

Reads a single character from the standard input (stdin).

Format

#include  <stdio.h>

int getchar  (void);

Description

The getchar function is identical to fgetc(stdin).

Return Values
The next character from stdin, converted to int. 
EOF  Indicates the end-of-file or an error. 


Previous Page | Next Page | Table of Contents | Index