Redefining a virtual function in the derived class - C++ basic concepts
Q. While redefining a virtual function in the derived class, if its prototype is changed then ___________________ .- Published on 19 Jul 15a. It will be overloaded by the compiler
b. Its virtual nature will be lost
c. both a and b
d. Compiler will generate “Prototype mismatch error”
ANSWER: both a and b