Q. Which function is used to write a character to a file? (A) putchar() (B) putc() (C) writechar() (D) write() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) putc() Explanation: putc() writes a single character to a file stream.