Q. Which of the following gets called when an object goes out of scope?

  • (A) constructor
  • (B) destructor
  • (C) main
  • (D) virtual function
πŸ’¬ Discuss
βœ… Correct Answer: (B) destructor

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
178
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Gopal Sharma
Publisher
πŸ“ˆ
94%
Success Rate