CITS2002 Systems Programming |
← prev | next → | CITS2002 | CITS2002 schedule | |||
1-dimensional arraysC provides support for 1-dimensional arrays by allowing us to identify the required data using a single index into the array.Syntactically, we use square-brackets to identify that the variable is an array, and use an integer expression inside the array to identify which "part" of it we're requiring. In all cases, an array is only a single variable, with one or more elements.
CITS2002 Systems Programming, Lecture 5, p2, 5th August 2024.
|