Two-dimensional arrays (2D arrays) are essentially arrays of arrays. They are extremely useful for representing data that naturally fits in a table, such as a chess board or a grid.
Two-dimensional arrays (2D arrays) are essentially arrays of arrays. They are extremely useful for representing data that naturally fits in a table, such as a chess board or a grid.