下列一维数组声明语句错误的是( 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
B
举一反三
- 下面数组声明语句错误的是__________。 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
内容
- 0
下列数组声明语句,________是正确的。 A: Dim a(2,3) As Integer B: Dim a(m,n) As Integer C: Dim a(2 3) As Integer D: Dim a[3,2] As Integer
- 1
如下数组声明语句,正确的是( )。 A: Dim A(3,4) As String B: Dim A(3 4) As Integer C: Dim A(N,N) As Single D: Dim A[3,4] As Intiger
- 2
如下数组声明语句,正确的是 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)%
- 3
以下定义数组的语句中,正确的是______。 A: Dim a( ,) as Integer B: Dim a(5 To 1) As Integer C: Dim a(-3 To 2000) As Single D: Dim a(n) As Double
- 4
下列数组声明正确的是( )。 A: n=5 Dim a(1 to n) As Integer B: Dim a(10) As Integer ReDim a(1 To 12) C: Dim a() As Single ReDim a(3,4) As Integer ReDim a(1 to n)As Integer D: Dim a() As Integer n=5