πŸ“Š Python
Q. What happens if you forget to close a file after opening?
  • (A) File content is lost
  • (B) Memory leak and file locks
  • (C) File is deleted
  • (D) Nothing happens
πŸ’¬ Discuss
βœ… Correct Answer: (B) Memory leak and file locks

Explanation: Not closing files can lead to resource leaks and locked files.

Explanation by: Mr. Dubey
Not closing files can lead to resource leaks and locked files.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate