Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Cpp Programming Quiz 263 – Which of the following gets called when an object goes out of scope?

Question: Which of the following gets called when an object goes out of scope?
[A].
constructor
[B].

destructor
[C].

main
[D].

virtual function 

Answer: Option B

Explanation:

No answer description available for this question.