argument与parameter
Argument vs. Parameter - Microsoft Style Guide | Microsoft Learn
These terms are often used interchangeably. Use argument in content for a general audience.
argument [论据; 论点; 理由]是常见单词 (据LDOCE, W1S1),parameter是专业技术用语。"Define the parameters of the experiment." -- 《生活大爆炸》
In content for a technical audience, use the same term consistently to refer to the same kind of element. When you need to differentiate between them:
- Use argument for a value or expression that contains data or code that's used with an operator or passed to a function.
- Use parameter for a value that's given to a variable and treated as a constant until the operation is completed. For example, a date could be a parameter that's passed to a scheduling function.
Differences Between Parameters and Arguments | Microsoft Learn
PASCAL和VB的过程(procedure)相当于C的void fn().
- A parameter represents a value that the procedure expects you to pass when you call it. The procedure's declaration defines its parameters.
- An argument represents the value that you pass to a procedure parameter when you call the procedure.
va_start(3): variable argument lists - Linux man page
stdarg, va_start, va_arg, va_end, va_copy - variable argument lists
main(int argc, char* argv[]);
重点:These terms are often used interchangeably.