Defined in header
int ungetc( int ch, FILE *stream );
Puts the character
ch back to the given file stream.
|ch||-||character to be put back|
|stream||-||file stream to put the character back to|
ch is returned.
On failure EOF is returned and the given stream remains unchanged.
C++ documentation for ungetc