CBSE Class 12 Computer Science Question 75 of 145

File Handling — Question 10

Back to all questions
10
Question

Question 10

Python automatically flushes the file buffers before closing a file with close() function.

Answer

True

Reason — Python automatically flushes the file buffers when closing them i.e., this function is implicitly called by close() function.