Vidyalelo
C++ Programming · Q43

Object Oriented Programming in C++

Programming · C++ Programming · question 43

Q43

What is the purpose of destructors in C++?

A.
To initialize objects of a class
B.
To define objects within a class
C.
To perform calculations with object data
D.
To release resources acquired by the object
Answer

Answer: Option D

Solution

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