Q23
What is the destructor called automatically when an object is destroyed in C++?
A.
.~className()
B.
className::~()
C.
~()
D.
~className()
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board