Array Index
The index of a 10-cell array varies from 0 to 9. So
defined 10 cells. We refer to these 10 cells as
temps[0], temps[1],
temps[2], temps[3],
. . . , temps[7],
temps[8], temps[9].
-
A reference to temps[10] is a programming error (and difficult to detect).