What is argument | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is argument

with example

10th Mar 2017, 2:39 AM
Jyoti Chhabra
Jyoti Chhabra - avatar
2 Answers
+ 4
Math.Min(a , 10); a and 10 are arguments for function Min().
10th Mar 2017, 3:44 AM
Wen Qin
Wen Qin - avatar
+ 1
values passed at the place of parameters on function call. def fun (int a, int b): int sum=a+b here a, b are parameters of fun. now main () fun (2,3) here 2,3 are passed arguments. syntax is just to explain you.
10th Mar 2017, 3:50 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar