+ 11

Difference between parameters and arguments?

26th Oct 2018, 3:41 AM
Barak
Barak - avatar
4 Respuestas
+ 9
parameters are things defined by functions as variables, arguments are the values that get passed in to be assigned to those variables
26th Oct 2018, 3:42 AM
Barak
Barak - avatar
+ 2
A parameter is something you specify when defining a function or calling it and an argument is something you pass to the parameter so the function can use it. So the parameter is a variable for that function and the argument is the value assigned to that variable.
23rd Mar 2019, 9:37 PM
Toothless8293
Toothless8293 - avatar
+ 1
parameters are written in parentheses after the function. arguments are written with values to assign exited variables.
3rd Mar 2019, 7:15 PM
Tusher Yaddit
Tusher Yaddit - avatar
0
true;
4th Jan 2019, 12:07 PM
Govind
Govind - avatar