Q. What does `del` keyword do?

  • (A) Deletes a file
  • (B) Deletes a function
  • (C) Deletes an object reference
  • (D) Deletes memory
πŸ’¬ Discuss
βœ… Correct Answer: (C) Deletes an object reference
Explanation: `del` removes the reference to an object, allowing it to be garbage collected.
Explanation by: Mr. Dubey
`del` removes the reference to an object, allowing it to be garbage collected.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
85
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate