Given the Dim statement below, which set of statements will initialize all elements of myArray to 100? Dim myArray(100) As Double

(A) ```
myArray = 100
```
(B) ```
For i As Integer = 0 To 100
(i) = 100
Next
```
(C) ```
For j As Integer = 0 to 100
myArray(j) = 100
Next
```
(D) myArray() is already initialized to 100 by the Dim statement.

(C) ```
For j As Integer = 0 to 100
myArray(j) = 100
Next
```

Computer Science & Information Technology

You might also like to view...

Only specific values can be entered into a field when the ________ property is applied

A) validation rule B) Modal C) Caption D) Required

Computer Science & Information Technology

A(n) ________ is usually the first slide in a presentation

Fill in the blank(s) with correct word

Computer Science & Information Technology