When a class object goes out of scope, a special function called the ………………. gets executed.
A. Constructor
B. Destructor
C. Both A and B
D. None of these
Answer:B
When a class object goes out of scope, a special function called the ………………. gets executed.
A. Constructor B. Destructor C. Both A and B D. None of these