- Number of elements is defined before using the array
- All elements must be of the same data type
- Can be accessed by index number e.g. arr[0] accesses the first element in the array "arr"
E.g. A list of marks for a specific test
- A 2D array is like a table with rows and columns
- An element is accessed via 2 numbers e.g. arr[0,0] points to the first column in the first row
E.g. A table of student test results over a month
Comments
No comments have yet been made