Elementary | Middle
Middle | High
AI
Click on one of our programs below to get started coding in the sandbox!
View All
The ordering of 2D arrays is row-major order, meaning the first index is the row, and the second index is the column. `arr[2][0]` would access the element on the third row and first column.