UGC-NET | UGC NET CS 2017 Jan – II | Question 12

Which one of the following is correct for overloaded functions in C++ ?
(A) Compiler sets up a separate function for every definition of function.
(B) Compiler does not set up a separate function for every definition of function.
(C) Overloaded functions cannot handle different types of objects.
(D) Overloaded functions cannot have same number of arguments.


Answer: (A)

Explanation: Compiler sets up a separate function for every definition of function this is due to overload function in C++.
For more information in overloading function Refer:Function Overloading in C++
So, option (A) is correct.

Quiz of this Question



My Personal Notes arrow_drop_up

Recommended Posts:



    Article Tags :

    Be the First to upvote.


    Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.