Q. What does flush() do? (A) Empties the file (B) Flushes file content to disk (C) Deletes file content (D) Closes the file ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) Flushes file content to disk Explanation: flush() forces writing of buffered data to the file.