CBSE Class 12 Computer Science Question 118 of 136

Data File Handling — Question 6

Back to all questions
6
Question

Question 6

A close() function breaks the link of the file object and the file on the disk.

Answer

True

Reason — The close() function breaks the link between the file object and the file on the disk. It flushes any unwritten information and closes the file object, preventing further writing operations.