+ 9
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 đđ»đ



