Programming Languages C++ Objective
Mar 20, 2013

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

Choose the correct answer:
A) constructor
B) destructor
C) main
D) virtual function
Detailed Explanation

Option B is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback