Creating a Two-Dimensional Array

Learn about the implementation of the two-dimensional array.

Two-dimensional arrays

A two-dimensional array is an array of arrays.

Two-dimensional arrays represent a matrix. We can access the element in a two-dimensional array by the row and column index. Both the row and column index start at 0.

Get hands-on with 1400+ tech skills courses.