Chapter 7: Problem 9
What is the purpose of closing a file?
Short Answer
Expert verified
Answer: Closing a file in programming is important because it helps reduce the risk of data loss, release system resources, avoid conflicts with other applications, and maintain good programming practices.