Question: 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 =

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

3.42 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

d A... View full answer

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

Document Format (2 attachments)

PDF file Icon

1814_60b8c1228627f_823787.pdf

180 KBs PDF File

Word file Icon

1814_60b8c1228627f_823787.docx

120 KBs Word File

Students Have Also Explored These Related Programming Microsoft Visual Basic Questions!