virtual functions must:

a. Be overridden in every derived class.
b. Be declared virtual in every derived class.
c. Be declared virtual in the base class.
d. Have the same implementation in every derived class.

c. Be declared virtual in the base class.

Computer Science & Information Technology

You might also like to view...

The criteria for a parameter query is entered only the first time it is run

Indicate whether the statement is true or false

Computer Science & Information Technology

Answer the following questions true (T) or false (F)

1. A derived class destructor always invokes the base class destructor. 2. The base class destructor must be virtual.

Computer Science & Information Technology