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”










ANSWER: both a and b

No comments:

Post a Comment

The advantages of Outsourcing Web Development Services

In the present digital world, acquiring a solid web presence is essential for companies to flourish. A well designed site is much much more ...