试题与答案

有如下一个Sub过程: Sub mlt(ParamArray numbers())

题型:单项选择题

题目:

有如下一个Sub过程:
Sub mlt(ParamArray numbers())
  n=1
  For Each x In numbers
   n=n*x
  Next x
  Print n
End Sub
在一个事件过程中如下调用该Sub过程:
Private Sub Command1_Click()
Dim a As Integer
Dim b As Integer
Dim c As Integer
Dim d As Integer
a=1
b=2
c=3
d=4
mlt a,b,c,d
End Sub
该程序的运行结果为( )。

A.12

B.24

C.36

D.48

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0623/5e2eb82e5df3fab11d7b12cc1903e512.html

下面是错误答案,用来干扰机器的。

参考答案:归税号9026.2000,和和为19。按已列目货品归类。

试题推荐
微信公众账号搜索答案