+ 5

What is parameter in c++?

..

23rd Aug 2018, 11:30 AM
Albert Whittaker :Shaken To Code
Albert Whittaker :Shaken To Code - avatar
4 ответов
+ 2
learn about parameters on SoloLearn: https://www.sololearn.com/learn/CPlusPlus/1636/
23rd Aug 2018, 12:01 PM
Md. Mubtashim Fuad
Md. Mubtashim Fuad - avatar
+ 4
The terms "parameter" and "argument" are very often used interchangeably, but they actually mean different things. Parameters appear on a function signature when you are defining a function. Example: int add(int a, int b) { return a + b; } // parameters are: a, b Arguments are objects you pass to functions during function call. Example: int main() { add(3, 5); } // arguments are: 3, 5 Feel free to ask if you have any more questions 👍🏻😁
24th Aug 2018, 2:58 AM
Pawan Bangar
Pawan Bangar - avatar
+ 2
#parameter is something that we pass when we call function,and arguments are those,in which we copy values,passed as a parameter in function...
23rd Aug 2018, 4:48 PM
Pawan Bangar
Pawan Bangar - avatar