When I created two functions one which takes one float argument and other function which take two int arguments (one set to default). What would be the output if I call function_name(5).
8/2/2016 3:32:23 PM
The one that has the right type without need of implicit type casting, 5 is an int, so it will be the fct that takes int
GET THE FREE APP
Learn Playing. Play Learning
Send us a message