Page 1 of 1

14. Assume that class B is derived publicly from class A. Class A has two functions, f10 and f20). Function f20 is virtu

Posted: Fri May 20, 2022 1:47 pm
by answerhappygod
14 Assume That Class B Is Derived Publicly From Class A Class A Has Two Functions F10 And F20 Function F20 Is Virtu 1
14 Assume That Class B Is Derived Publicly From Class A Class A Has Two Functions F10 And F20 Function F20 Is Virtu 1 (37.01 KiB) Viewed 53 times
14. Assume that class B is derived publicly from class A. Class A has two functions, f10 and f20). Function f20 is virtual. Assume the following statements statements: A* ptr=new B; ptr->f10; ptr->f20; Fill in the blank The function f1() as defined in class _ will be used. The function f20 as defined in class will be used 15. In question 14, the call to ptr->f2() is an example of