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.


b. delete is used on a base-class pointer to a derived-class object.

Computer Science & Information Technology

You might also like to view...

Explain three factors related to the design of a microprocessor that can affect the speed at which it processes instructions.

What will be an ideal response?

Computer Science & Information Technology

Words that are spelled correctly, but used incorrectly in Word are flagged with a dark red, bolded underline

Indicate whether the statement is true or false

Computer Science & Information Technology

If you are writing a paper that includes mathematical equations, you can insert mathematical symbols and equations using the ____ button in the Symbols group.

A. Equation B. Math C. Arithmetic D. Calculus

Computer Science & Information Technology

A widely used encryption algorithm is

a. PGP b. RSA c. CRC d. DTR

Computer Science & Information Technology