what are the results when we define a function and in the argument list pass values to the arguments? we pass values to this function. it will work with its default values or our new values? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what are the results when we define a function and in the argument list pass values to the arguments? we pass values to this function. it will work with its default values or our new values?

15th Dec 2016, 4:07 PM
Ayin GhaziMoradi
2 Answers
+ 3
if we pass the values by reference, then it is default values otherwise new.
15th Dec 2016, 4:08 PM
Nawaj Shareef
Nawaj Shareef - avatar
0
Fdi
20th Dec 2016, 1:09 PM
Mehbub Umta