An array must be declared and defined before it can be used. Declaration and definition tell the compiler the name of the array, the type of each element, and the size or number of elements in the array. The size of the array is a constant and must have a value at compilation time.