下列数组声明语句中,不正确的是_________。
A: Dim a(3) As Single = {0, 1, 2, 3}
B: Dim a%(3)
C: Dim a(1, 4) As Single
D: Dim a(4) As Single
A: Dim a(3) As Single = {0, 1, 2, 3}
B: Dim a%(3)
C: Dim a(1, 4) As Single
D: Dim a(4) As Single
举一反三
- 下列数组声明语句中,不正确的是_________。 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
- 下列数组声明语句中, 不正确的是___________。 A: Dim a(5) As Single B: Dim a(1 To 5) As Single C: Dim a(0) As Single D: Dim a(5) As Single=(1,2,3,4,5,6)
- 下列数组声明语句,________是正确的。 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(9) As Single = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } B: Dim A( ) As Single = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } C: Dim A( ) As Single = { 1, "abc", "ccc", 4, 5, 6, 7, 8, 9, 10 } D: Dim A( , ) As Single = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
- 下列数组声明初始化语句,( )是正确的。 A: Dim a( ) As Single={1,2,3,4,5} B: Dim a( , ) As Integer={1,2,3,4,5,6,7,8,9,10} C: Dim a( ) As Integer=(1,2,3,4,5) D: Dim a(4) As Single={1,2,3,4,5}