An array is a consecutive group of memory locations that all have the same name and the same type. If a program uses an expression as a subscript, then the expression is evaluated to determine the subscript.
Brackets have the same level of precedence as parentheses.
The programmer specifies the type of elements and the number of elements required by each array so that the compiler may reserve the appropriate amount of memory. Arrays and Strings 1. A character array can be initialized using a string literal. Note that array string1 actually contains six elements. All strings end with this character.