Skip to content

2-D arrays

A 2-D array is a grid

  • A 2-D array has rows and columns, like a table.
  • ARRAY[1:2, 1:3] means 2 rows and 3 columns.

A 2-D array as a grid of rows and columns; G[1,2] is the cell in row 1, column 2

Log in or create account

IGCSE & A-Level