• 2022-10-25
    与VBA语句DimVar%,sum!等价的是()
    A: Dim Var As Double, sum As Single
    B: Dim Var As Integer, sum As Double
    C: Dim Var As Single, sum As Double
    D: Dim Var As Integer, sum As Single
  • D

    内容

    • 0

      下列数组声明初始化语句,________是正确的。 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)

    • 1

      下列数组声明初始化语句,________是正确的。 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)

    • 2

      下列数组声明初始化语句,( )是正确的。 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}

    • 3

      下列数组声明语句,________是正确的。 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

    • 4

      下列数组声明语句中,正确的是_________。 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}