Answer: It will not compile,will give us an error saying that:-
"Type '_Default' already defines a member called 'sum' with the same parameter types"
Here _Default is a page name.
We can not say that it's a Function Overloading.Because it does not depend upon return type.
Asked In: Many Interviews |
Alert Moderator