πŸ“Š C++
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”
πŸ’¬ Discuss
βœ… Correct Answer: (C) both a and b

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
245
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
93%
Success Rate