Question: fprintf is in which library?
Answer: The C library function int fprintf(FILE *stream, const char *format, ...) sends formatted output to a stream.