C++ Programming Questions


Q.  While redefining a virtual function in the derived class, if its prototype is changed then ___________________ .

a. 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”



 
 

    Discussion

Post your comment / Share knowledge