单项选择题
有如下事件过程: Private Sub Commaild1_Click( ) Dim i As Integer For i =1 To 2 DC Next i End Sub Sub DC( ) Dim x As Integer,m As String Static y,n x=x + 1 y=y + 1 m=m&"*":n=n &"#" Print x,y,m,n End Sub 程序运行后,输出的结果是( )。
A. 1 1 * # 1 1 * #
B. 1 1 * # 1 2 * #
C.1 1 * # 1 1 * ##
D. 1 1 * # 1 2 * ##
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
执行下列程序后,鼠标单击窗体,输出结果为( )。Private Sub Form_Click()Print“Click”;End SubPrivate Sub Form_MouseDown(Button As Integer,Shift_As Integer,X As Single,Y As Single)Print “Donw”End SubPrivate Sub Form_MouseUp(Button As Integer,Shift_As Integer,X As Single,Y As Single)Print“Up”End Sub
A. J2DE
B. J2SE
C. J2ME
D. Y2EE
点击查看答案&解析
单项选择题
单击按钮时,以下程序运行后的输出结果是( )。Private Sub proc1(x As Integer,y As Integer,z As Integer)x=3*zy=2*zz=x+yEnd SubPrivate Sub Command1_Click()Dim x As Integer,y As Integer,Z As Integerx=1:y=2:z=3Call proc1(x,x,z)Print x;x;zCall proc1(x,y,y)Print x;y;yEnd Sub
A. Dim NewArray(10)As Integer
B.Dim NewArray(1 T0 10)As Integer
C. Dim NewArray(10)Integer
D.Dim NewArray(1 To 10)Integer
点击查看答案&解析
相关试题
一棵二叉树第六层(根结点为第一层)的结点...
我国古代数学家张丘建在其著名的《算经》中...
下列程序的功能是:将数据1,2,…,10...
按 先进后出 原则组织数据的数据结构是【...
浮点数由3部分组成,即符号、【 】和尾数。