C++ Constructors Question:

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

A. constructor
B. destructor
C. main
D. virtual function

Tweet Share WhatsApp