Exam-style question
Try this first
What is the output of accessing arr[1][2] in a 2D array named 'arr'?.
- A.First row, second column
- B.Second row, third column
- C.First column, second row
- D.Second column, first row
Answer and explanation
Concise answer
Second row, third column
Why this is correct
In a 2D array, the first index is the row and the second index is the column.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
