In the case of function overloading , please can someone explain how we can distinguish between integer and float values as arguments????? I mean how will the compiler know we want to give integer or float value????
it doesn't know anything, the compiler knows nothing unless you make it clear and define everything.
The compiler will throw an error if it can't resolve a call due to ambiguity.