当发生Form_Click事件时,下列程序的输出结果是( )。
Private m As Integer,n As Integer
Private Sub Form_Click( )
Dim k As Integer,p As Integer
k=6:p=60
Call sub1(k,p)
Print m,n,m,k,p
Call sub1(k,p)
Print m,n,k,p
End Sub
Private Sub Form_Load( )
m=7
n=70
End Sub
Public Sub sub1(x As Integer,ByVal y As Integer)
Dim m As Integer
n=n+5
m=n+x+y
x=x+y
y=x+y
End Sub

题库:计算机等级考试 类型:最佳选择题 时间:2017-07-03 15:00:24 免费下载:《单项选择》Word试卷

当发生Form_Click事件时,下列程序的输出结果是( )。
Private m As Integer,n As Integer
Private Sub Form_Click( )
Dim k As Integer,p As Integer
k=6:p=60
Call sub1(k,p)
Print m,n,m,k,p
Call sub1(k,p)
Print m,n,k,p
End Sub
Private Sub Form_Load( )
m=7
n=70
End Sub
Public Sub sub1(x As Integer,ByVal y As Integer)
Dim m As Integer
n=n+5
m=n+x+y
x=x+y
y=x+y
End Sub
A.7 75 66 60
7 80 126 60
B.7 75 66 60
7 75 126 60
C.7 75 66 60
7 80 66 60
D.7 75 66 60
7 75 66 60

当发生Form_Click事件时,下列程序的输出结果是(  )。  Private m As Integer,n As Integer  Private Sub

本题关键词:输出结果,列当,当场处罚程序,A系列合同文件,出院病案排列顺序,突发卫生事件报告时限,程序性文件,生产程序,竣工结算程序,偶发事件;

微信扫码获取答案解析
下载APP查看答案解析