A Admin • 833K Points Coach Q. Which of the following is the correct way to define a destructor in a derived class in C++? (A) ~DerivedClass() { } (B) void ~DerivedClass() { } (C) int ~DerivedClass() { } (D) None of the above Correct Answer - Option(A) Views: 16 Filed under category C++ Hashtags: Share Manage Tags
Discusssion
Login to discuss.