下列语句错误的是( )。
A: Dim a(-10 To 5) As Integer
B: Dim n as Integern=10Dim a(n) As Integer
C: Const n As Integer = 5Dim a(5) As Integer
D: Dim a%(10,-10 To -10)
A: Dim a(-10 To 5) As Integer
B: Dim n as Integern=10Dim a(n) As Integer
C: Const n As Integer = 5Dim a(5) As Integer
D: Dim a%(10,-10 To -10)
举一反三
- 下列数组声明正确的是( )。 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
- 下列数组声明语句,正确的是()。 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
- 如下数组声明语句,正确的是 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)%
- 下列数组声明语句中,正确的是( )。 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,n] As Integer
- 下列数组声明语句中,正确的是( )。 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,n] As Integer