下列一维数组声明语句错误的是( B )。
A: DIM B(100) AS DOUBLE
B: DIM B(-20 TO -50) AS INTEGER
C: DIM B(-15 TO 0)
D: DIM B(5 TO 5) AS STRING
A: DIM B(100) AS DOUBLE
B: DIM B(-20 TO -50) AS INTEGER
C: DIM B(-15 TO 0)
D: DIM B(5 TO 5) AS STRING
举一反三
- 下面数组声明语句错误的是__________。 A: Dim a%(-5 to -3) B: Dim a%(-1 to 2,3) C: Dim n%,a%(n) D: Dim a(-1 to 0) as Integer
- 下列数组说明语句正确的是 A: Dim g(0,-5)As Single B: Dim h(100 To 100,100)As String C: Dim x(5)As Integer D: ReDim x(10)As Integer E: Dim y() F: ReDim y
- 下列数组声明语句中,正确的是( )。 A: Dim A[5,8]As Integer B: Dim A(5,8)As Integer C: Dim A[5;8]As Integer D: Dim A(5;8)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(n,n) As Integer D: Dim a(3,4) As Integer