单选题语句Dim arr(-3 To 5,2 To 6)As Integer定义的数组元素有()个。A45B40C11D54
单选题
语句Dim arr(-3 To 5,2 To 6)As Integer定义的数组元素有()个。
A
45
B
40
C
11
D
54
参考解析
解析:
暂无解析
相关考题:
( 21 )下面正确使用动态数组的是A )Dim arr () As Integer…ReDim arr ( 3 , 5 )B )Dim arr () As Integer…ReDim arr ( 50 ) As StringC )Dim arr ()…ReDim arr ( 50 ) As IntegerD )Dim arr ( 50 ) As Integer…ReDim arr ( 20 )
下面正确使用动态数组的是( )。A.Dim arr( )As Integer … ReDim arr(3,5)B.Dim arr( )As Integer … ReDim arr(50)As StringC.Dim arr( ) … RcDim arr(50)As IntegerD.Dim arr(50)AS Integer … ReDim arr(20)
以下有关数组定义的语句序列中,错误的是A.Static arrl(3) arr1(1)=100 arrl(2)="Hello" arrl(3)=123.45B.Dim arr2()As Integer Dim size As Integer Private Sub Command2_Click() size=InputBOX(“输入:”) ReDim arr2(size) ┄ End SubC.Option Base 1 Private Sub Command3_Click() Dim arr3(3)As Integer ┄ End SubD.Dim n As Integer Private Sub Command4_Click() Dim arr4(n)As Integer ┄ End Sub
以下有关数组定义的语句序列中,错误的是 ______。A.Static arrl(3) arrl(1)=100 arrl(2)="Hello" arrl(3)123.45B.Dim arr2()As Integer Dim size As Integer Private Sub Command2_click() size=InputBox("输入:") ReDimarr2(size) End SubC.Option Base1 Private Sub Command3_click() Dim arr3(3)As Integer End SubD.Dim n As Integer Private Sub Command4_Click() Dim arr4(n)As Integer End Sub
下列数组定义语句错误的是A.k%=10 Dim Arr(k)B.Const k%=10 Dim Arr(k)C.Dim Arrl(10) As Integer Dim Arr2(10)D.Dim Arrl(1 To 10) Dim Arr2(1 To 10,2 To 11)
以下有关数组定义的语句序列中,错误的是 ______。A.Static arr1(3) arr1(1)=100 arr1(2)="Hello" arr1(3)=12345B.Dim arr2()As Integer Dim size As Integer Private Sub Command2_Click() size=Input Box("输入:") ReDimarr2(size) ... End SubC.Option Base 1 Private Sub Command3_Click() Dim arr3(3)As Integer ... End SubD.Dim n As Integer Private Sub Command4_Click() Dim arr4(n)As Integer ... End Sub
用Dim arr(3 To 5,-2 To 2)语句定义的数组元素个数是( )。A.20B.12C.15SXB 用Dim arr(3 To 5,-2 To 2)语句定义的数组元素个数是( )。A.20B.12C.15D.24
以下有关数组定义的语句序列中,错误的是( )。A.Static arr1(3) arr1(1)=100 arr1(2)="Hello" arr1(3)=123.45B.Dim arr2() AsInteger Dim size As Integer Private Sub Command2_Click () size=InputBox("输入:") ReDim arr2(size) …… EndSubC.Option Base 1 Private Sub Command3 Click() Dim art3(3) As Integer …… End SubD.Dim n As Integer Private Sub Command4 Cliok() Dim arr4(n)As Integer …… End Sub
单选题设有如下数组声明语句:Dim arr(﹣2 To2,0 To3)As Integer该数组所包含的数组元素个数是( )。A20B16C15D12