【单选题】单击命令按钮时,下列程序段的执行结果是( )。 Private Sub Command1 Click( ) Dim a As Integer,b As Integer,C As Integer a=2:b=4:c=6 Call S1(a.b) Print'a=';a;'b=';b;'c=';c Call S2(a,b) Print'a=';a;'b=';b;'c=';c; End Sub Priv...
【单选题】下列程序段的执行结果是______。 option base 1 private eommand1_c1ick () Dim A(10) Dim E(5) For i = 1 To 10 A(i) = i Next i For j = 1 To 5 B(j) = j * 20 Next j A(5) = B(2) Print “A(5)=” A(5) End sub
【简答题】下列程序段的执行结果是( )。 Dim a(5) As StringDim b As IntegerDim I As IntegerFor I = 0 To 5a(I) = I + 1Debug.Print a(I)Next IA. 123456.0 B. 6.0 C. 654321.0 D. 0.0