设有数组说明语句:Dim c(-1 To 1,1 To 5),则下列表示数组c的元素选项中()是正确的。A、c(i+j)B、c(i)(j)C、c(i+1,j-1)D、c(1,0)
设有数组说明语句:Dim c(-1 To 1,1 To 5),则下列表示数组c的元素选项中()是正确的。
- A、c(i+j)
- B、c(i)(j)
- C、c(i+1,j-1)
- D、c(1,0)
相关考题:
设有数组定义语句:Dim a(5) As Integer,List1为列表框控件。下列给数组元素赋值的语句错误的是A.a(3)=3B.a(3)=InputBox("inputdata")C.a(3)=List1.ListlndexD.a=Array(1,2,3,4,5,6)
设有数组定义语句:Dim a(5) As Integer,List1为列表框控件。下列给数组元素赋值的语句错误的是( )。A.a(3) =3B.a(3) =inputbox("input data")C.a(3) =List1.ListIndexD.a=Array(1,2,3,4,5,6)
设有声明语句Option Base 1Dim b(-1 To 10, 2 To 9, 20) As Integer则数组b中全部元素的个数( )。A.2310B.1920C.1500D.1658
下面数组说明语句错误的是______。A.Dim b(-10)As DoubleB.Dim c(8, 3)As ByteC.Dim d(-10 To-1)As BooleanD.Dim e(-99 To-5, -3 To 0)
(23)设有数组定义语句:Dim a(5)As Integer,并设List1为列表框控件。下列给数组元素赋值的语句错误的是A.a(3)=3 B.a(3)=inputbox("inputdata") C.a(3)=List1.ListIndex D.a=Array(1,2,3,4,5,6)
下面的数组声明语句中正确的是A.Dim gg[1,5]As StringB.Dim gg[1 To 5,1 To 5]As StringC.Dim gg(1 To 5) As StringD.Dim gg[1:5,1:5]As String
定义有5个整数型元素的数组,正确的语句是A.Dim a(4) As IntegerB.Option Base 1:Dim a(5)C.Dim a (5)D.Dime a(5) As Integer
下面的数组声明语句中正确的是A.Dim gg[1,5] As StringB.Labell.BackStyle=1C.Dim gg(1 To 5) As StringD.Dim gg[1:5,1:5]As String
设有数组定义语句:Dim a(5)As Integer,并设List1为列表框控件。下列给数组元素赋值的语句错误的是( )。A.a(3)=3B.a(3)=inputbox("inputdata")C.a(3)=List1.List1ndexD.a=Array(1,2,3,4,5,6)
下列数组说明语句正确的是A.Dim g(0,-5)As SingleB.Dim h(100 To 100,100)As StringC.Dim x(5)As Integer ReDim x(10)As IntegerD.Dim y() ReDim y
下面的数组声明语句中正确的是A.Dim gg[1,5]As StringB.Label1.BackStyle=1C.Dim gg(1 To 5)As StringD.Dim gg[1:5,1:5]As String
如果不使用Option Base语句,则下面数组说明语句等效的有()A、Dim A(0to8,0to3)B、Dim A(1to8,1to3)C、S Dim A(7,2)D、Dim A(8,3)
要分配一个3×3的单精度类型的数组,正确的数组声明语句是()A、Dim a(9)AsSingleB、Dim a(-1 To 1,-5 To -3)As SingleC、Dim a(3,3)As SingleD、Dim a(-3 To 1,-5 To 7)As Single
单选题设有数组定义语句:Dim a(5)As Integer,List1为列表框控件。下列给数组元素赋值的语句错误的是( )。Aa(3)=3Ba(3)=Inputbox("inputdata")Ca(3)=List1.ListIndexDa=Array(1,2,3,4,5,6)
单选题设有数组说明语句:Dim c(10) AS Integer,则下面表示数组c的元素选项中()是错误的。Ac(i-1)Bc(5+0.5)Cc(0)Dc(11)