Which among the following is true for virtual functions?
(a) Prototype must be different in base and derived class
(b) Prototype must be same in base class and derived class
(c) Prototype must be given only in base class
(d) Prototype must have different signature in base and derived class
I had been asked this question by my college professor while I was bunking the class.
I need to ask this question from Virtual Functions in section Member Functions & its Types of Object Oriented Programming