fgetc function — Reads a character
int fgetc(FILE* stream)
The fgetc function reads a single character from stream. It returns the character as an unsigned char converted to int or EOF for an error or end-of-file.
fgetc
stream
unsigned
char
int
EOF
feof function, ferror function, getc macro, fputc function, fwgetc in <cwchar>
fwgetc
<cwchar>