Electrical and Computer Engineering
13 of 17
UAH
CPE 112
•A two-dimensional array is used to represent items in a table with rows and columns of the same data type item.
•Each component is accessed using two indices that represent the position in each dimension.
•ArrayDeclaration
Ø DataType Array Name [ConstInt Expression] [ConstIntExpression] … ; 
•ArrayComponentAccess
Ø     ArrayName[Index Expression]
Ø      [Index Expression] …;
Two-Dimensional Arrays