+ 3
What is function overloading?
3 Answers
+ 8
You can have multiple definitions for the same function name in the same scope by varying function signature. You can not overload function declarations that differ only by return type.
Right -> void sum (int,int); void sum (double,int);
Wrong-> void sum (int,int); int sum (int,int);
+ 3
functions with same name but by different return type and different signatures(different number of parameters)...
0
tnx