Skip to content
Related Articles

Related Articles

UGC-NET | UGC NET CS 2014 Dec – II | Question 15
  • Last Updated : 25 Jun, 2018

Which of the following differentiates between overloaded functions and overridden functions?
(A) Overloading is a dynamic or runtime binding and overridden is a static or compile time binding.
(B) Overloading is a static or compile time binding and overriding is dynamic or runtime binding.
(C) Redefining a function in a friend class is called overloading, while redefining a function in a derived class is called as overridden function.
(D) Redefining a function in a derived class is called function overloading, while redefining a function in a friend class is called function overriding.


Answer: (B)

Explanation: Overloading is a static or compile time binding and overriding is dynamic or runtime binding.
For more information on Refer:Function Overloading vs Function Overriding in C++
Option (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :