数组声明语句Dim b(-1 To 3) As Integer共声明了()个数组元素
A: 4
B: 6
C: 5
D: 3
A: 4
B: 6
C: 5
D: 3
举一反三
- 数组声明语句dim a(5) as integer 声明的数组a中元素个数是5 。()
- 如下数组声明语句,哪一个正确 ( ) A: Dim a[3,4] as Integer B: Dim a(3,4) As Integer C: Dim a(3;4) as Integer D: Dim a(3:4) As Integer
- 下列数组声明语句,________是正确的。 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%(,) 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%(-5 to -3) B: Dim a%(-1 to 2,3) C: Dim n%,a%(n) D: Dim a(-1 to 0) as Integer