본문 바로가기

2-D arrays: working with a grid

English

A grid of boxes

  • A 2-D array is a grid: rows and columns of the same type.
  • int g[2][3]; makes 2 rows and 3 columns — 6 ints in all.
  • You reach one cell with two indexes: g[row][col].

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP