题目内容
(请给出正确答案)
[主观题]
窗体中有命令按钮Command1,事件过程如下:Public Function f(x As Integer)As Integer Dim y As I
窗体中有命令按钮Command1,事件过程如下:
Public Function f(x As Integer)As Integer
Dim y As Integer
x=20
y=2
f=x*Y
End Function
Private Sub Command 1_Click()
Dim y As Integer
static x As Integer
x=10
y=5
y=f(x)
Debug.Print x;y
End Sub
运行程序,单击命令按钮,则立即窗口中显示的内容是()。
A.10 5
B.10 40
C.20 5
D.20 40
如搜索结果不匹配,请 联系老师 获取答案