Question 1
Why do we use a destructor in C++?
- A.To destroy an object when the lifetime of the object ends
- B.To create an object when the object needs to be created
- C.To initialize the data members of an object when it is created
- D.None of the Above