Q. What does flush() do?
β
Correct Answer: (B)
Flushes file content to disk
Explanation: flush() forces writing of buffered data to the file.