1. 程式人生 > >C語言之argument和parameter的區別

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 : 實參。