default argument信息详情

default argument发音

意思翻译

默认参数;预设自变量,默认参量

相似词语短语

argument───n.论证;论据;争吵;内容提要;<数,逻>自变数;<语言学>主词,受词

default f───默认值f

default model───违约模型

developer default───默认安装类型(计算机用语)

default gateway───[计]默认网关;默认网关;缺省网关

unsound argument───不可靠论证

ampliative argument───扩大论点

bravely default───勇敢地违约

load default───载入默认值;载入原始设定

双语使用场景

A default argument doesn't change the number of parameters.───默认实参并没有改变形参的个数。

Why non-default arguments can't follows default argument?───为什么非默认的参数可以不遵循默认参数?

can specify default argument (s) in either the function definition or declaration.───既可以在函数声明也可以在函数定义中指定默认实参。

Most languages with default argument values only allow constants or other values that can be determined at parse-time.───大多数支持默认参数的语言只允许编译时能决定的常量或者值作为默认值。

A default argument is specified by providing an explicit initializer for the parameter in the parameter list.───默认实参是通过给形参表中的形参提供明确的初始值来指定的。

However, a parameter can have its default argument specified only once in a file.───但是,在一个文件中,只能为一个形参指定默认实参一次。

A default argument is a value that, although not universally applicable, is the argument value that is expected to be used most of the time.───默认实参是一种虽然并不普遍、但在多数情况下仍然适用的实参值。

However, if a parameter has a default argument, all the parameters that follow it must also have default arguments.───但是,如果有一个形参具有默认实参,那么,它后面所有的形参都必须有默认实参。

Alternatively, if you type dblsn without any parameters, dblsn will use dblsn. Txt as the default argument file.───或者,如果不带任何参数键入dblsn,dblsn将把dblsn.txt作为缺省参数文件。

英语使用场景

We prefer to use a default argument because it reduces code duplication.