πŸ“Š C++
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

πŸ‘οΈ
155
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Gopal Sharma
Publisher
πŸ“ˆ
92%
Success Rate