青年中文青年中文

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.