#include <stdio.h> int fgetc(FILE * stream);
fgetc() stream , , . unsigned char, .
fgetc() EOF. EOF , feof(). fgetc() , EOF. ferror().