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
内容
- 0
如下数组声明语句,( )正确。 A: Dim a[3,4] As Integer B: Dim a(3,4) As Integer C: Dim a(n,n) As Integer D: Dima(34) As Integer
- 1
下列数组声明语句,________是正确的。 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
- 2
下列数组声明语句中,不正确的是_________。 A: Dim a(9) As Single = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} B: Dim a() = {1, 2, 3, 4, 5, 6, 10} C: Dim a( ,) As Single = {{1, 2, 3, 4, 5}, {6, 7, 8, 9, 10}} D: Dim a() As Single = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} E: Dim n As Integer=10Dim a(n) As Single
- 3
以个哪个选项定义了10个整形数构成的数组,数组元素为Array(1)至Array(10)?( ) A: Dim Array(10) As Integer B: Dim Array(10) Integer C: Dim Array(1 to 10) As Integer D: Dim Array(1 to 10) Integer
- 4
下列数组说明语句正确的是 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