下列数组声明语句中, 不正确的是___________。
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(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(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(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( ) 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(5) As Integer = {11,22,33,44,55} B: Dim a( , ) As Single = {{1,2,3,4,5},{6,7,8,9,0}} C: Dim a(x) As Single x此前未声明 D: Dim a(4) As Integer = {1,2,3,4,5}
- 下列数组声明初始化语句,________是正确的。 A: Dim a( ) As Single={1,2,3,4,5,6,7,8,9,10} B: Dim a(9) As Single={1,2,3,4,5,6,7,8,9,10} C: Dim a() As Single={1,”a”,”bc”,4,5,6,7,8,9,10} D: Dim a( , ) As Integer={1,2,3,4,5,6,7,8,9,10} E: Dim a( ) As Integer=(1,2,3,4,5,6,7,8,9,10)