Open In App
Related Articles

UGC-NET | UGC NET CS 2014 Dec – II | Question 15

Improve Article
Improve
Save Article
Save
Like Article
Like

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

Last Updated : 25 Jun, 2018
Like Article
Save Article
Similar Reads