网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Default argument
释义

Default argument

中文百科

缺省参数

在进程设计中,一个函数的缺省参数是指不必须指定值的参数。在大多数进程设计语言中,函数可以接受一个或多个参数。通常对于每个参数都需要指定它们的值(例如C语言)。一些较新的进程设计语言(例如C++)允许进程员设定缺省参数并指定默认值,当调用该函数并未指定值时,该缺省参数将为缺省值。

英语百科

Default argument 缺省参数

In computer programming, a default argument is an argument to a function that a programmer is not required to specify. In most programming languages, functions may take one or more arguments. Usually, each argument must be specified in full (this is the case in the C programming language). Later languages (for example, in C++) allow the programmer to specify default arguments that always have a value, even if one is not specified when calling the function.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/19 12:05:04