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...

In any program that uses the cin object, you must #include

A) the iostream header file. B) the stream header file. C) >> and << operators. D) named constants. E) none of the above.

Computer Science & Information Technology

The operating systems for mobile devices need to load the OS from the disk into RAM.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A cookie is a small text file that is placed on your computer by websites that you visit

Indicate whether the statement is true or false

Computer Science & Information Technology

The assets page of a website is the first page that viewers see when they visit your website.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology