Question: what library is feof in?
Answer: The C library function int feof(FILE *stream) tests the end-of-file indicator for the given stream.