Electrical and Computer Engineering
3 of 17
UAH
CPE 112
Syntax Templates
•ArrayDeclaration
•    DataType ArrayName [ConstIntExpression];
•
•ArrayComponentAccess
•    ArrayName [ Index Expression ]
•
•The index expression may be as simple as a constant or a variable name or as complex as a combination of variables, operators, and function calls.