Exam-style question
Try this first
What does closing a file ensure?.
- A.Data is lost
- B.Data is saved
- C.File is deleted
- D.File is opened
Answer and explanation
Concise answer
Data is saved
Why this is correct
Closing a file ensures that all changes made to the file are saved properly before the program ends.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
