ungetc()

This is a file I/O function, also hardware dependent. It is not implemented in this Compiler.

Syntax
   #include <stdio.h>

  
  int ungetc(int ch, FILE *f)

  
  ;

  
Description

ungetc() pushes the single character ch back onto the input stream f. The next read from f reads that character.

Return

ch

See also

fgets()

fopen()

getc()

getchar()