Computer Science for IGCSE & O level - Programming (Section 3 - No. 22)

In file handling, what is the purpose of closing a file?
To delete the file.
To save the changes to the file.
To release system resources.
To rename the file.

Explanation

Closing a file releases the file resources so they can be used by other programs and saves the changes.

Comments (0)

Advertisement