Vidyalelo
C++ Programming · Q20

Constructors and Destructors in C++

Programming · C++ Programming · question 20

Q20

What is the purpose of the destructor in C++?

A.
To initialize objects
B.
To create objects
C.
To release resources acquired by the object
Answer
D.
To access class members

Answer: Option C

Solution

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