fgetc

Example: fgetcInput-Output Functions

Gets a character from a stream.

int fgetc( FILE *file_pointer);

file_pointer A pointer to a file.

Return Values

Returns the requested character. If the End Of File is reached or if a reading error occurred, it returns an EOF character.