单项选择题

设窗体上有一个Conunand1命令按钮,还有以下程序代码:Private Sub Command1_Click()Static x As Integerx=x+1Call proc(x)Print x,End SubPrivate Sub proc(a As Integer)Static xA s Integerx=x+aa=xEnd Sub程序运行后,3次单击命令按钮,则产生的输出是

A.1 2 3
B.1 3 5
C.1 3 7
D.2 4 6
题目列表

你可能感兴趣的试题

微信扫码免费搜题