You should make a function a virtual function if
a. every class that is derived from this class use all the member functions from this class.
b. every class that is derived from this class needs to re-define this function.
c. that function is an operator
d. only in the derived classes
b. every class that is derived from this class needs to re-define this function.
You might also like to view...
List several advantages function objects provide over function pointers.
What will be an ideal response?
WYSIWYG stands for ________
Fill in the blank(s) with correct word
What is the value of s1 after the following code is executed?
``` var s1 = "deitel and associates" s1 = s1.slice( 6 ) ``` a) deitel b) deitel and asso c) and associates d) deitel and associates
How do lookup fields help improve the efficiency of the data entry process?
What will be an ideal response?