C++ Constructors Question: Download Questions PDF
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
destructor
destructor
Download C++ Constructors Interview Questions And Answers
PDF