题目内容:
在窗体上画一个命令按钮,然后编写如下程序:Sub sl(ByVal X As Integer,ByVal Y As Integer)
Dim tAs Integer
t=X
X=Y
Y=t
End Sub
Private Sub Command1_Click()
Dim a As Integer,b As Integer
a=10
b=30
S1 a,b
Print“a=”;a;“b=”;b
End Sub
程序运行后,单击命令按钮,输出结果是 ( ) A.a=30 b=10
B.a=30 b=30
C.a=10 b=30
D.a=10 b:10
参考答案:
答案解析: