Title: Array Element References
Course: CPS 120: Introduction to Computer Science ~ Master (Aug/2015) OLD > Section: Learning Units

Array Element Reference

- Each element of an array is referenced by the array name followed by an integer expression in square brackets.
- The integer expression is known as the index.
- The index may be:
  - A number
  - An integer variable
  - An integer calculation
- An array element reference may be used wherever a variable may be used.