更多"下列数组说明语句正确的是"的相关试题:
[单项选择]下列数组说明语句正确的是
A. Dim g(0,-5)As Single
B. Dim h(100 To 100,100)As String
C. Dim x(5)As Integer
D. Dim y()
[单项选择]下面数组说明语句正确的是______。
A. Dim g(0,-5) As Single
B. Dim h(100 To 100,100)As String
C. Dim x(5)As Integer
D. Dim y( )
[单项选择]下面数组说明语句错误的是______。
A. Dim b(-10)As Double
B. Dim c(8, 3)As Byte
C. Dim d(-10 To-1)As Boolean
D. Dim e(-99 To-5, -3 To 0)
[单项选择]下列数组定义语句错误的是
A. k%=10
B. Const k%=10
C. Dim Arrl(10) As Integer
D. Dim Arrl(1 To 10)
[单项选择]设有数组定义语句:Dima(5)AsInteger,Listl为列表框控件。下列给数组元素赋值的语句错误的是( )。
A. a(3)=3
B. a(3)=inputbox("inputdata")
C. a(3)=Listl.Listlndex
D. a=Array(1,2,3,4,5,6)
[单项选择]下列关于数组定义语句不正确的
A. int[]a1,a2;
B. int a[]={1,2,3,4,5};
C. double[] d=new double[8];
D. float f[]=new {2.0f,3.5f,5.6f,7.8f};
[单项选择]下列数组定义语句中,错误的是
A. Static a(10) As Integer
B. Dim c(3,1 To 4)
C. Dim d(-10)
D. Dim b(0 To 5, 1 To 3) As Integer
[单项选择]下面的数组声明语句中正确的是
A. Dim gg[1,5]As String
B. Dim gg[1 To 5,1 To 5]As String
C. Dim gg(1 To 5)As String
D. Dim gg[1:5,1:5]As String
[单项选择]下列数组声明语句中,正确的是
A. Dim A[3,4] As Integer
B. Dim A(3,4) As Integer
C. Dim A[3;4] As Integer
D. Dim A(3;4) As Integer
[单项选择]以下正确的数组定义语句是 ( )
A. int y[1][4]=1,2,3,4,5,
B. float x[3][]=1,2,3
C. long s[2][3]=1,1,21,2,3,
D. double t[][3]=0