Are the parameters in a function actually integer values or...? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Are the parameters in a function actually integer values or...?

23rd Jul 2016, 7:27 AM
Harun
Harun - avatar
2 Answers
+ 1
They can be of whatever type you want.
25th Jul 2016, 5:01 PM
Marco Neumann
Marco Neumann - avatar
+ 1
That depends on which type you passed the arguments like call by value, call by reference, call by need,call by name etc
1st Aug 2016, 7:19 PM
Manisha Bandagi
Manisha Bandagi - avatar