Que: Which of the following declares a five-element one-dimensional array?

a. Dim dblAmounts(4) As Double
b. Dim dblAmounts(5) As Double
c. Dim dblAmounts(4) As Double = {3.55, 6.70, 8, 4, 2.34}
d. Dim dblAmounts() As Double={3.55, 6.70, 8, 4, 2.34,1.45}
Answer: Dim dblAmounts() As Double={3.55, 6.70, 8, 4, 2.34,1.45}

Leave a Comment