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
d A... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1814_60b8c1228627f_823787.pdf
180 KBs PDF File
1814_60b8c1228627f_823787.docx
120 KBs Word File
