Computer Science for IGCSE & O level - Programming (Section 14 - No. 20)

What is the purpose of the `CLOSEFILE` statement in file handling?
To open a file for writing.
To read a line of text from the file.
To close the connection to the file.
To write a line of text to the file.

Explanation

The CLOSEFILE statement releases the file resource and closes the connection to the file.

Comments (0)

Advertisement