Question: 6. Which of the following assigns the number 0 to each element in a two-row, four-column Integer array named intSums? a. For intRow As Integer

6. Which of the following assigns the number 0 to each element in a two-row, four-column Integer array named intSums?

a. For intRow As Integer = 0 To 1 For intCol As Integer = 0 To 3 intSums(intRow, intCol) = 0 Next intCol Next intRow

b. Dim intRow As Integer Dim intCol As Integer Do While intRow < 2 intCol = 0 Do While intCol < 4 intSums(intRow, intCol) = 0 intCol += 1 Loop intRow += 1 Loop

c. For intX As Integer = 1 To 2 For intY As Integer = 1 To 4 intSums(intX - 1, intY - 1) = 0 Next intY Next intX

d. all of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock