Single Variable v.s. Array
float f;
reserves one cell in memory of type float.
float temps[10];
reserves 10 cells in memory of type float. All cells are of the same type.
temps
0 1 2 3 4 5 6 7 8 9
temps[0]
temps[8]
&f
Previous slide
Next slide
Back to first slide
View graphic version