单击命令按钮时,下列程序的执行结果为()Private Sub Command1()Click() Dim x As Integer, y As Integerx=12:y=32 Call Proc(x,y) Print x; yEnd SubPublic Sub Proc(n As Integer, ByVal m As Integer) n=n Mod 10m=m Mod 10End Sub
单击命令按钮时,下列程序的执行结果为()Private Sub Command1()Click() Dim x As Integer, y As Integerx=12:y=32 Call Proc(x,y) Print x; yEnd SubPublic Sub Proc(n As Integer, ByVal m As Integer) n=n Mod 10m=m Mod 10End Sub
A.1232
B.232
C.23
D.123
正确答案:232
Tag:VisualBasic程序设计 单击 按钮
时间:2024-01-07 21:29:01