单选题 VB
题号 #145042

在窗体上画一个名称为Command1的命令按钮,并编写如下程序:
Private Sub Command1_Click()
 Dim x As Integer
 Static y As Integer
  x=10
  y=5
 Call f1(x,y)
 Print x,y
End Sub
Private Sub f1(ByRef x1 As Integer, y1 As Integer)
 x1=x1+2
 y1=y1+2
End Sub
程序运行后,单击命令按钮,在窗体上显示的内容是(  )。

进入在线模考

参考答案

D

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考