实参,actual parameters,全称为"实际参数"是在调用时传递给函数的参数,即传递给被调用函数的值。实参可以是常量、变量、表达式、函数等,无论实参是何种类型的量,在进行函数调用时,它们都必须具有确定的值,以便把这些值传送给形参。 因此应预先用赋值,输入等办法使实参获得确定值。
函数调用(function call):执行一个函数的语句。它由函数名称和参数列表组成。 实参(argument):当函数调用时,提供给它的值。这个值会被赋值给对应的形参。
基于248个网页-相关网页
... 请输入您需要翻译的文本!south afrrca » 请输入您需要翻译的文本!south afrrca 实参 » real participation 业务办理处 » Business for at ...
基于12个网页-相关网页
...bu.com 中国论文网 关键词:函数;形参;实参;数据传递 [gap=571]Key words: functions; formal parameters; actual arguments; data transferring ...
基于1个网页-相关网页
而他们也切实参与到交流中。
将很小的实参传递给函数。
当然,前提是合同规定了实参的先决条件。
This is, of course, if the contract states the preconditions for the arguments.
And again, a related problem that people run into is side-effects. You call a function and it returns a value, but maybe it, on purpose or on accident, modifies one of the actual parameters.
另外,一个人们常碰到的相关问题,就是副作用,你调用一个函数它返回一个值,但是故意或者无意的,它可能会修改一个实参的值。
应用推荐