Examveda

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

A. To define objects within a class

B. To release resources acquired by the object

C. To perform calculations with object data

D. None of the above

Answer: Option B


Join The Discussion

Related Questions on Classes and Objects in C plus plus