Vidyalelo
C++ Programming · Q30

Classes and Objects in C++

Programming · C++ Programming · question 30

Q30

What is a destructor in C++?

A.
A special member function that destroys objects
Answer
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

Solution

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