In which access specifier should a virtual function be defined?
(a) Private
(b) Public
(c) Protected
(d) Default
This question was addressed to me by my school principal while I was bunking the class.
The question is from Virtual Functions topic in chapter Member Functions & its Types of Object Oriented Programming