First page Back Continue Last page Overview Image
Array Initialization
- Array can be initialized at the time of definition. To initialize the arry use the following syntax:
Array_Type Array_Name [Length] = { values separated by comma };
int array [ 5 ] = { 1 , 2 , 3 , 4 , 5 } ;