1.

In which of the following we cannot overload the function?(a) return function(b) caller(c) called function(d) main functionThe question was posed to me at a job interview.Question is from Overloaded Function Names in division Functions, Namespaces & Exceptions in C++ of C++

Answer» RIGHT ANSWER is (a) RETURN function

To explain: While overloading the return function, it will rise a ERROR, So we can’t overload the return function.


Discussion

No Comment Found

Related InterviewSolutions