单项选择题
单击命令按钮,下列事件过程的执行结果为 Private Sub Command1_Click( ) Dim x As Integer, y As Integer x=40:y=72 Call PtoP(x, y) Print x; y End Sub Public Sub PtoP(Byval n AS Integer, ByVal m Aa Integer) n = n \ 10+2 m = m \ 10+2 End Sub
A.0 8
B.40 72
C.4 50
D.78 50
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下列程序段的执行结果为 a=2 b=0 Select Case a Case 1 Select Case b Case 0 Print * * 0 * * Case 1 Print * * 1 * * End selec Case 2 Print * * 2 * * End Select
A.* * 0 * *
B.* * 1 * *
C.* * 2 * *
D.0
点击查看答案&解析
单项选择题
下列程序的执行结果为 Private Sub Comrnandl_Click( ) Dim p As Integer, q As Integer p=12:q=20 Call Value(p, q) Print p; q End Sub Private Sub Value(ByVal m As Integer, ByVal n As Integer) m=m * 2: n=n - 5 Print m; n End Sub
A.20 12
20 15
B.12 20
12 25
C.24 15
12 20
D.24 12
12 15
点击查看答案&解析
相关试题
下面的程序的作用是利用随机函数产生10个...
下面是程序是计算给定函数的值,自变量x,y...
在有下面一个程序段从文本框中输入数据,如...
下列语句的输出结果是 【6】 。 Print...
如果在D盘当前文件夹下已2经存在名为PIC....