Advertisements
Advertisements
Question
Does the return type of a function help in overloading a function?
One Line Answer
Solution
No. The return type of overloaded functions is not considered for overloading the same data type.
shaalaa.com
Is there an error in this question or solution?