Q. What happens if you forget to close a file after opening?
β
Correct Answer: (B)
Memory leak and file locks
Explanation: Not closing files can lead to resource leaks and locked files.