In C, all the character-oriented functions (getc, fgetc, getchar, etc.) return int instead of char, mainly to support an out-of-band value for EOF (an integer expression with a negative value).
The "void" in the parameter list indicates that the function takes no parameters.
Login to rate this answer.