Vidyalelo
C++ Programming · Q45

Constructors and Destructors in C++

Programming · C++ Programming · question 45

Q45

When destructors are called?

A.
When a program ends
B.
When a function ends
C.
When a delete operator is used
D.
All of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board