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.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
2022-01-04 又看到一本好书
2022-01-04 A Child's History of England.95
2022-01-04 A Child's History of England.94
2022-01-04 std::string的find挺慢的
2022-01-04 A Child's History of England.93
2022-01-04 A Child's History of England.92
2022-01-04 album