Let us suppose i have these three methods defined:
int F1(int, int); int F1(float, float); Float F1(int, int);
and i am calling method F1 h
In Function overloading name of a functions are same but they are differ in either type of parameter or number of parameter.
In Function overloading return type of a function is not considered.
So this code will not even compile.Because you can not write exactly same function in one namespace.