Unit 8: 2D Array

Cards (4)

  • array: used to store a fixed number of elements of the same type
  • array[row][column]: Accesses the element at row row and at column column.
  • Row Major Order: The process of traversing a 2D array by accessing all elements in a row before moving on to the next row.
  • Column Major Order: The process of traversing a 2D array by accessing all values at the first column in every row, before moving to the next column