A single-dimensional or one-dimensional array
consists of a fixed number of elements of the same data type organized
as a simple linear sequence. The elements of a single-dimensional array
can be accessed by using a single subscript, thus they are also known as
single-subscripted variables. The other common names of single-dimensional arrays are linear arrays and vectors. Single-dimensional arrays are shown in Figure 2.