Examveda
Examveda

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

A. A special member function that destroys objects

B. A function used to create objects

C. A function used to initialize objects

D. A function used to access class members

Answer: Option A


Join The Discussion

Related Questions on Constructors and Destructors in C plus plus