-
Pick out the correct statement.
-
- A derived class’s destructor can invoke its base class’s destructor
- A derived class’s constructor cannot explicitly invokes its base class’s constructor
- A derived class’s destructor cannot invoke its base class’s destructor
- All of above
- None of these
Correct Option: C
Destructors are automatically invoked when a object goes out of scope or when a dynamically allocated object is deleted. Inheritance does not change this behavior. This is the reason a derived destructor cannot invoke its base class destructor.