题目内容:
设有以下函数过程
Private Function Fun(a()As Integer,b As String)As Integer
End Function
若已有变量声明:
Dim x(5)As Integer,n As Integer,ch As String
则下面正确的过程调用语句是( )。
A.x(0)=Fun(x,"ch")
B.n=Fun(n,ch)
C.Call Fun x,"ch"
D.n=Fun(x(5),c
参考答案:
答案解析:
设有以下函数过程
Private Function Fun(a()As Integer,b As String)As Integer
End Function
若已有变量声明:
Dim x(5)As Integer,n As Integer,ch As String
则下面正确的过程调用语句是( )。
A.x(0)=Fun(x,"ch")
B.n=Fun(n,ch)
C.Call Fun x,"ch"
D.n=Fun(x(5),c