Question

Q1: virtual destructors must be used when:
a. The constructor in the base class is virtual.
b. delete is used on a base-class pointer to a derived-class object.
c. delete is used on a derived-class object.
d. A constructor in either the base class or derived class is virtual.

Answer

This answer is hidden. It contains 57 characters.