Q.

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

A. constructor
B. destructor
C. main
D. virtual function
Answer» B. destructor
1.4k
0
Do you find this helpful?
1

Discussion

No comments yet