Which of the following code segments will copy the values of a 5 element array named intOldValues into another 5 element array named intNewValues?
a. ```intIndex = 1
Do While intIndex <=5
intNewValues(intIndex) = intOldValues(intIndex)
intIndex = intIndex + 1
Loop
```
b. ```intIndex = 0
Do While intIndex < 5
intNewValues(intIndex) = intOldValues(intIndex)
intIndex = intIndex + 1
Loop
```
c. ```For intIndex = 1 To 5
intNewValues(intIndex) = intOldValues(intIndex)
Next intIndex
```
d. ```For intIndex = 0 To 4
intOldValues(intIndex) = intNewValues(intIndex)
Next intIndex
```
b. ```intIndex = 0
Do While intIndex < 5
intNewValues(intIndex) = intOldValues(intIndex)
intIndex = intIndex + 1
Loop
```
You might also like to view...
________ is a commonly used scripting language for creating DHTML effects
Fill in the blank(s) with correct word
A function that checks whether a field has no value.
What will be an ideal response?
In the Paint program, the white drawing area is called the ____.
A. paper B. artboard C. workspace D. canvas
These special programs continually look for new information and update the databases used by search services.
What will be an ideal response?