0

What is a parameter?

I'm learning C++ and I don't know what a parameter is.Please help.

8th Dec 2016, 4:44 AM
Souravr30
Souravr30 - avatar
2 odpowiedzi
+ 3
a parameter it's the value you input to a function. int function sum(int a, int b){ return a+b;} sum(3,2); 3 and 2 are the parameters of sum function.
8th Dec 2016, 4:53 AM
Nahuel
Nahuel - avatar
0
Thanks
12th Dec 2016, 3:09 PM
Souravr30
Souravr30 - avatar