πŸ“Š C++
Q. What is the difference between overloaded functions and overridden functions?
  • (A) Redefining a function in a friend class is called function overloading while Redefining a function in a derived class is called as overridden function.
  • (B) Overloading is a static or compile-time binding and Overriding is dynamic or run-time binding
  • (C) Redefining a function in a friend class is called function overriding while Redefining a function in a derived class is called an overloaded function.
  • (D) Overloading is a dynamic or run-time binding and Overriding is static or compile-time binding
πŸ’¬ Discuss
βœ… Correct Answer: (C) Redefining a function in a friend class is called function overriding while Redefining a function in a derived class is called an overloaded function.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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