First page Back Continue Last page Graphics
Two Dimensional Arrays (cont.)
my_matrix [ 0 ] [ 0 ] is a single integer which is the first element of the my_matrix [ 0 ] array.
Normally, you can still think of the organization as a table with rows and columns.
my_matrix [ row ] [ column ]
Refer back to figures 5.6 and 5.7.
Note, 2D arrays are stored in memory in row column order. All elements of one row are stored, then the next row, etc.