[單項選擇題] 單擊按鈕時,以下程序運行后的輸出結(jié)果是( )?! rivate Sub proc1(x As Integer,y As Integer,z
2021-07-20
[單項選擇題] 單擊按鈕時,以下程序運行后的輸出結(jié)果是( )?! rivate Sub proc1(x As Integer,y As Integer,z As Integer) x=3*z y=2*z z=x+y End Sub Private Sub Command1_Click() Dim x As Integer,y As Integer,Z As Integer x=1:y=2:z=3 Call proc1(x,x,z) Print x;x;z Call proc1(x,y,y) Print x;y;y End 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
正確答案:B
參考解析:A)選項定義了11個整型數(shù)構成的數(shù)組,C)選項和D)選項語法錯誤。
詞條內(nèi)容僅供參考,如果您需要解決具體問題
(尤其在法律、醫(yī)學等領域),建議您咨詢相關領域?qū)I(yè)人士。