网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

已知数Dima(1 To lO)As Integer,则下面正确调用GetValue函数的是( )。

Pdvate Funtion GetValu(a() As Integer)AsInteger

A.S=GetValue(a(1 T0 10))

B.S=GetValue(a)

C.S=GetValue(a(10))

D.S=GetValuea


参考答案

更多 “ 已知数Dima(1 To lO)As Integer,则下面正确调用GetValue函数的是( )。Pdvate Funtion GetValu(a() As Integer)AsIntegerA.S=GetValue(a(1 T0 10))B.S=GetValue(a)C.S=GetValue(a(10))D.S=GetValuea ” 相关考题
考题 设有如下说明:var q,p:^integer; 且已知有过程调用new(p);new(q);则下面语句正确的是( ) Aread(p,q);Bp^:=q^Cp:=p+1Dp:=p+q;

考题 如果Add函数的调用代码为:func main() {var a Integer = 1var b Integer = 2var i interface{} = asum := i.(Integer).Add(b)fmt.Println(sum)}则Add函数定义正确的是() A.type Integer intfunc (a Integer) Add(b Integer) Integer { return a + b}B.type Integer intfunc (a Integer) Add(b *Integer) Integer { return a + *b}C.type Integer intfunc (a *Integer) Add(b Integer) Integer { return *a + b}D.type Integer intfunc (a *Integer) Add(b *Integer) Integer { return *a + *b}

考题 链表的定位函数loc(I:integer):pointer; {寻找链表中的第I个结点的指针}procedure loc(L:linklist; I:integer):pointer;var p:pointer;j:integer;

考题 已知数组a(1 To 10)As Integer,下面调用GetValue函数正确的是( )。 Private Function GetValue(a()As Integer)As Integer For i=1 To 10 Get Value=GetValue+a(i) Next i End FunctionA.S=GetValue(a(1 To 10))B.S=GetValue(a)C.S=GetValue(a(10))D.S=GetValue a

考题 以下哪个函数声明是正确的?A.void play(int a, int b);B.void play(a:Integer, b:Integer);C.void play(int a, b) ;D.Sub play(a as integer, b as integer);

考题 下列各函数首部中,正确的是()。A.void play(var :Integer, var b:Integer)B.void play(int a, b)C.void play(int a, int b)D.Sub play(a as integer, b as integer)

考题 8、下面哪些是将分数化为浮点数的正确定义?A.type Fraction = (Integer, Integer) rateq :: Fraction - Float rateq (a,b) = a/b###SXB###B.type Fraction = (Integer, Integer) rateq :: Fraction - Float rateq (a,b) = (fromInteger a)/ (fromInteger b)###SXB###C.type Fraction = (Integer, Integer) rateq :: Fraction - Float rateq (a,b) = fromInteger (a/b)###SXB###D.type Fraction = (Integer, Integer) rateq :: Fraction - Float rateq (a,b) = (fromIntegral a)/ (fromIntegral b)###SXB###E.ty

考题 下面正确地声明一个动态数组的语句是()。A.Dim A() As IntegerB.Dim A() As VariantC.ReDim A() As SingleD.Dim A() Integer

考题 11、下面哪些定义是类型正确的?A.f :: (Integer, Integer) - Float f (x,y) = x / yB.f :: (Integer, Integer) - Float f (x,y) = (fromInteger x) / (fromInteger y)C.f :: (Integer, Integer) - Float f (x,y) = 3*x + yD.f :: (Integer, Integer) - Integer f (x, y) = 3*x + y