•When
declaring arrays, specify
–Name
–Type
of array
•Any
data type
–Number
of elements
–type
arrayName[ arraySize
];
–int c[ 10 ]; // array of 10 integers
–float d[ 3284 ]; // array
of 3284 floats
•Declaring
multiple arrays of same type
–Use
comma separated list, like regular variables
•int b[ 100 ], x[ 27 ];