题目内容:
在窗体上画一个名称为Command1的命令按钮,并编写如下程序:Private Sub Command l_Click()
Dim xAsInteger
Static Y As Integer
x=10
Y=5
Call f1(X,Y)
Print X,V
End Sub
Private Sub f1(ByRef X1 As Integer,yl As Integer)
x1=X1+2
y1=y1+2
End Sub
程序运行后,单击命令按钮,在窗体上显示的内容是 ( ) A.10 5
B.12 5
C.10 7
D.12 7
参考答案:
答案解析: