Once you attempt the question then PrepInsta explanation will be displayed.
Answer :: (C)
EXPLANATION :
Destructor cannot be inherited.
Destructors are not inherited. If a class doesn't define one, the compiler generates one. But if a class has members with destructors, the generated destructor calls destructors for those members before calling the base class destructor.
Login/Signup to comment