有如下Sub过程: Sub ind(a As Integer) Static x As Integer x= x + a Print x: End Sub 以下是

题目

有如下Sub过程:

Sub ind(a As Integer)

Static x As Integer

x= x + a

Print x:

End Sub

以下是调用它的事件过程,程序运行后,单击命令按纽Command1三次,输出结果为【 】。

Private Sub Command1_Click()

Ind 2

End Sub

参考答案和解析
正确答案:6
6
更多“有如下Sub过程: Sub ind(a As Integer) Static x As Integer x= x + a Print x: End Sub 以下是 ”相关问题