+ 5
What is parameter in c++?
..
4 ответов
+ 2
learn about parameters on SoloLearn: https://www.sololearn.com/learn/CPlusPlus/1636/
+ 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 👍🏻😁
+ 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...