在窗体模块的通用声明段有Option Base 1语句,以下不能正确定义1个4×3数组的语句是。
A: Dim a (-2 To 1,3) As Intege
B: Dim a (3,2) As Intege
C: Dim a (4,3) As Intege
D: Dim a(1 To 4,1 To 3) As Intege
E: 以上都不对
A: Dim a (-2 To 1,3) As Intege
B: Dim a (3,2) As Intege
C: Dim a (4,3) As Intege
D: Dim a(1 To 4,1 To 3) As Intege
E: 以上都不对
举一反三
- 在窗体模块的通用声明段有Option Base 1语句,以下能正确定义1个4×3数组的语句是 A: Dim a (-2 To 1,3) As Intege B: Dim a (3,2) As Intege C: Dim a (4,3) As Intege D: Dim a(1 To 4,1 To 3) As Intege
- 在窗体模块的通用声明段有Option Base 1语句,以下不能正确定义1个4×3数组的语句是( ) A: Dim a (-2 To 1,3) As Integer B: Dim a (3,2) As Integer C: Dim a (4,3) As Integer D: Dim a(-4 To -1,-3 To -1) As Integer
- 如下数组声明语句,正确的是______。 A: Dim a%(,) B: Dim b%(4) = {1, 2, 3, 4, 5} C: Dim c%(-2) D: Dim d%{{1, 2, 3}, {4, 5, 6}}
- 下面数组说明语句错误的是(). A: Dim a(10) As Intege B: Dim d(-10 To -1) As Boolean C: Dim e(-99 To -5,-3 To 0) D: Dim f(-10 To -20,10 To 20) As Long
- 在通用声明中给出Option Base 1语句,有定义语句“Dim a(3, -2 To 1, 5)”,则数组a包括( )元素。