R

Ram Sharma • 193.86K Points
Coach

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”
  • Correct Answer - Option(C)
  • Views: 179
  • Filed under category C++

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics