Virtual function is ______ class function which expected to be redefined in ______ class, so that when reference is made to derived class object using pointer then we can call virtual function to execute ________ class definition version.
(a) Base, derived, derived
(b) Derived, Derived, Derived
(c) Base, derived, base
(d) Base, base, derived
This question was addressed to me in unit test.
I need to ask this question from Virtual Functions topic in chapter Member Functions & its Types of Object Oriented Programming