Accessing elements: grid[r][c] accesses the element at row r, column c.
How to apply it: First index is the row, second is the column; reverse order is a common exam error.
Course: AP Computer Science A · Unit: 2D Array
Practice questions about Accessing elements on AimFive — get rubric-based feedback showing exactly which points you earned.
AP and Advanced Placement are trademarks of College Board. AimFive is not affiliated with or endorsed by College Board.