
Prelab Activities
Review
In the last chapter we examined enumerated types and record types. In this chapter we
introduce the array, a homogenous data type where each element in the structure must
be of the same data type.
One-Dimensional Array Data Type
A one-dimensional array is a structured data type in which a collection of places is
given a name and the individual places are accessed by their position within the
collection. There are two types associated with the array data type: the type of the
items to be stored in the individual places in the structure and the type of the index
used to specify the individual places within the structure. In C++, ...