Which one of the following is correct for overloaded functions in C++?
Show answerHide answer
Correct answer: (A) Compiler sets up a separate function for every definition of function
Explanation
When you call an overloaded function, the compiler determines the most appropriate definition to use by comparing the arguments types you used to call the function with the parameter types specified in the definitions. The process of selecting the most appropriate overloaded function is called overload resolution.