Declaring an Array
Array declarations tell the compiler to allocate memory to store
some number of elements of
a particular kind of data and to associate a name with the
array.
In C, array declarations take the form:
<type specifier> <identifier>[ <size> ]
where:
-
type specifier
-
indicates the kind of data,
-
identifiers
-
is the names associated with the array, and
-
size
-
is the number of cells to allocate in contiguous memory.
This size MUST be a compile time known constant.