variable argument parameter的区别

作者&投稿:肇兔 (若有异议请与网页底部的电邮联系)
parameter和argument有何区别~

******************
argument
[5B:^jumEnt]
n.
争论, 辩论, 论据, 论点, ~ (for,against), 意见

E-C American Heritage Dictionary
--------------------------------------------------------------------------------


argument
ar.gu.ment
AHD:[?r“gy…-m…nt]
D.J.[6$8gj*m*nt]
K.K.[6$gj*m*nt]
n.(名词)
(1)
A discussion in which disagreement is expressed; a debate.
争论:表达不同意见的讨论;辩论
(2)
A quarrel; a dispute.
争吵;争论
(3)
Archaic A reason or matter for dispute or contention:
【古语】 主张,理由:争论或论辩的理由或内容:
“sheath'd their swords for lack of argument”(Shakespeare)
“因无争论理由收剑入鞘”(莎士比亚)
(4)
A course of reasoning aimed at demonstrating truth or falsehood:
论证:旨在说明真伪的推论过程:
presented a careful argument for extraterrestrial life.
提出关于地球外生命的详细论证
(5)
A fact or statement put forth as proof or evidence; a reason:
论据,根据:作为根据或论据而提出的事实或论点;理由:
The current low mortgage rates are an argument for buying a house now.
现行的低抵押率是马上买房子的根据
(6)
A summary or short statement of the plot or subject of a literary work.
情节:文学作品的故事梗概或简短内容提要
(7)
A topic; a subject:
题目;主题:
“You and love are still my argument”(Shakespeare)
“你和爱情仍是我的主题”(莎士比亚)
(8)
Logic The minor premise in a syllogism.
【逻辑学】 三段论中的小前提
(9)
Mathematics
【数学】
(10)
The independent variable of a function.
函数的自变数
(11)
The amplitude of a complex number.
复数的辐角
(12)
Computer Science A value used to evaluate a procedure or subroutine.
【计算机科学】 自变量,变元:一数值,用于确定程序或子程序的值

语源
--------------------------------------------------------------------------------

(1)
Middle English
中古英语
(2)
from Old French
源自 古法语
(3)
from Latin arg?m
源自 拉丁语 arg?m
(4)
from arguere [to make clear] * see argue
源自 arguere
*************************************************

parameter
[pE5rAmitE]
n.
参数, 参量, 起限定作用的因素

E-C American Heritage Dictionary
--------------------------------------------------------------------------------


parameter
pa.ram.e.ter
AHD:[p…-r2m“1-t…r]
D.J.[p*6r#mit*]
K.K.[p*6r#m!t+]
n.(名词)
(1)
Mathematics
【数学】
(2)
A constant in an equation that varies in other equations of the same general form, especially such a constant in the equation of a curve or surface that can be varied to represent a family of curves or surfaces.
参数,参量:在相同一般类型的等式中取值变化的等式中的常数或常量,尤其是曲线方程和平面方程中能代表一类曲线或平面的常量
(3)
One of a set of independent variables that express the coordinates of a point.
变量,参数:一组代表与之对应的点的独立变量之一
(4)
One of a set of measurable factors, such as temperature and pressure, that define a system and determine its behavior and are varied in an experiment.
要素,测量元素之一:一组可测量的确定某一系统并决定该系统的状况且在实验中是变化的因素之一,例如温度和压力
(5)
Usage Problem A factor that restricts what is possible or what results:
【用法疑难】 限制因素:限定可能性和结果的因素:
“all the parameters of shelter—where people will live, what mode of housing they will choose, and how they will pay for it”(New York)
“住宿的所有限制因素——人们住在哪里、他们将选择什么样的住房式样以及他们如何付房钱”(纽约)
(6)
A factor that determines a range of variations; a boundary:
决定变数范围的要素,范围,界限:决定变化范围的因素;限度:
an experimental school that keeps expanding the parameters of its curriculum.
一所不断扩展课程范围的实验学校
(7)
Statistics A quantity, such as a mean, that is calculated from data and describes a population.
【统计学】 母数:一种如平均数等从数据中计算出来的用来描述总体的数值
(8)
Usage Problem A distinguishing characteristic or feature.
【用法疑难】 特色,特征:区别于其它事物的特点或性质

Parameter is variable in the declaration of function.

Argument is the actual value of this variable that gets passed to function.


函数声明的变量时候叫Parameter
函数调用的变量时候叫Argument

variable是变量
parameter是参数

argument的含义和他们的关系如下
1. An independent variable.独立变量。
2. Any value of an independent variable, e.g.,a search key; a number identify- ing the location of an itemin a table. | 独立变量的任何值。例如一个搜索(关)键(字),标识表中一个项(目)的位置的数。
3. A parameter passed between a calling and a called program. | 在调用程序和被调用程序之间传送的参数。
4. In PL/1, an expression and argument list that is part of a procedure reference. | PL/1语言中的一个表达式及自变量表,是过程参照的一部分。


潍城区15753534005: variable argument parameter的区别 -
高狮竹沥: variable是变量 parameter是参数argument的含义和他们的关系如下 1. An independent variable.独立变量. 2. Any value of an independent variable, e.g.,a search key; a number identify- ing the location of an itemin a table. | 独立变量的任何值....

潍城区15753534005: parameter和argument的区别 -
高狮竹沥: parameter和argument是计算机英语中常见的词汇,这两者的区别如下: 1. parameter是形参,体现在函数定义中,当出现在整个函数内都是可以使用的, 要是离开该函数则不能使用 argument是实参,体现在主调函数中,当进入被调函数后,...

潍城区15753534005: JSP中argument,variable区别? -
高狮竹沥: argument是指参数, 如声明方法 void print(String a),a 就是argumentvariable指的是程序中的变量,如程序中 void print(String a) {String b; } b就是variable

潍城区15753534005: 在Python中,parameters与argument有什么不同 -
高狮竹沥: 一个parameter,是一个变量,variable;一个argument, 是一个值, value; argument“给”,parameter“收”

潍城区15753534005: shell 下几种常见的变量赋值方法 -
高狮竹沥: shell下变量的赋值方法一般是 variable=variable_value,但是在实际运用过程中,variable_value可以有多种方法具体如下:variable=`command argument` 几个典型的例子:用awk或者是cut 把指定的字段(用一定的分隔符分隔的字段)赋值给...

潍城区15753534005: 帮介绍一下C语言里的varargs. -
高狮竹沥: 处理可变参数列表--头文件<varargs.h>头文件包含一组宏,它允许轻量进程处理可变参数列表的写入.例程具有可变参数列表比如printf()函数而不用varargs.h头文件,因为此头文件本质是不可移植的,因为不同的计算机使用不同的参数传递约...

潍城区15753534005: 自变量的英文单词是什么? -
高狮竹沥: 自变量 argument定义域 domain值域 range区间 interval闭区间 closed interval开区间 take ----as an argument

潍城区15753534005: linux c变参函数参数类型不同怎么办 -
高狮竹沥: 写一个简单的可变参数的C函数 下面我们来探讨如何写一个简单的可变参数的C函数.写可变参数的 C函数要在程序中用到以下这些宏: void va_start( va_list arg_ptr, prev_param ); type va_arg( va_list arg_ptr, type ); void va_end( va_list arg_ptr ); ...

潍城区15753534005: python参数,解包,变量! -
高狮竹沥: 其实没那么复杂 我个人理解 argv 中记录了执行脚本时 传进来的一些变量 其中第一个是脚本的名 你可以根据得到的参数做一些流程控制 脚本a.py 内容如下:from sys import argv for i in range(len(argv)): print argv[i] #输出参数 在cmd中执行脚本,如下:

潍城区15753534005: 50分!请问个java基础问题 -
高狮竹沥: 这个是java中的不定长参数(Variable-length Argument),下面详细说明一下:不定长参数的由来:我们在调用某个方法的时候,如果事先无法决定参数的个数,例如最简单的输出语句:System.out.println();这里面是无法事先决定要给的...

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 星空见康网