C语言之argument和parameter的区别

    《The C Programming Language》 K&R Page25
    We will generally use parameter for a variable named in the parenthesized list in a function definition, and argument for the value used in a call of function. The terms formal argument and actual argument are sometimes used for the same distinction.
    翻译:
    我们通常用parameter表示函数定义中括号内的变量名,用argument表示函数调用中使用的值。formal argument和actual argument有时也有相同的区分。
    所以结论如下:
    parameter / formal argument : 形参;
    argument  / actual argument : 实参。

版权声明:本文为hanwang3原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。