urgent doubt

jainprateek2000's Avatar, Join Date: Aug 2009
Newbie Member
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????
kyle's Avatar, Join Date: Dec 2010
Go4Expert Member
it doesn't know anything, the compiler knows nothing unless you make it clear and define everything.
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
The compiler will throw an error if it can't resolve a call due to ambiguity.