Ø The declaration int a [5] is nothing but creation of 5 variables of integer types in the memory. Instead of declaring five variables for five values, the programmer can define them in the array. Ø All the elements of an array share the same name, and they are distinguished from one another with the help of an element number. Ø The element number in the array plays an important role for calling each element. Ø Any particular element of an array can be modified separately without disturbing other elements. Ø Any element of an array a[ ] can be assigned/equated to another ordinary variable or array variable of its type. e.g. int b, a[10]; b=a[5]; a[2]=a[3];
Learn something about IT