[单项选择题] 在窗体上画一个名称为Commandl的命令按钮,然后编写如下事件过程: Private Sub Command1_Click()Dim x As Integer,y As Inte
21 查阅
[单项选择题] 在窗体上画一个名称为Commandl的命令按钮,然后编写如下事件过程:
Private Sub Command1_Click()
Dim x As Integer,y As Integer
x = 41: y = 54
Call sub1(x,y)
x = x + 1
Print x; y
End Sub
Private Sub sub1(n As Integer, ByVal m As Integer)
n=n Mod 10
m=m10
End Sub
程序运行后,单击命令按钮,则窗体上显示的内容是
A.41 54
B.2 54
C.1 3
D.42 3
参考答案: