Question: what is fputc and putc?
Answer: It returns the character written. putchar(c) is defined as putc(c, stdout). fputc behaves like putc, but is a genuine function rather than a macro; it may therefore be used as an argument. fputc runs more slowly than putc, but takes less space per invocation.