以下定义数组的语句中,正确的是______。
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
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
举一反三
- 下列数组声明正确的是( )。 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 Single C: Dim a{3, 4} As Integer D: Dim a[3, 4] As Integer E: Dim a(3 4) As Integer F: 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,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
- 下列数组声明语句,正确的是()。 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