74.0k views
2 votes
Array with 2 rows of 5

User Milligran
by
3.3k points

1 Answer

4 votes

Answer:Instinctively one thinks geometrically: horizontal (X) axis and then vertical (Y) axis. This is not, however, the case with a 2D array, rows come first and then columns. Consider the following analogy: in geometry one walks to the ladder (X axis) and climbs it (Y axis).

Explanation:

User Alexnavratil
by
3.3k points