Copyright ©2004 Pearson Addison-Wesley. All rights reserved.
Array Terminology (1)
An array is a collection of two or more adjacent memory cells that are:
The same type (i.e. int)
Referenced by the same name
These individual cells are called array elements
To set up an array in memory, we must declare both the name and type of the array and the number of cells associated with it
This instructs C to associate eight memory cells with the name x; these memory cells will be adjacent to each other in memory.
You can declare arrays along with regular variables
double cactus, needle, pins;