Points to Remember

  1. An array is a collection of similar elements.

  2. The first element in an array is numbered 0,so the last element is 1 less than the size of the array.

  3. An array is also known as a subscripted variable.

  4. Before using an array its type and dimension must be declared. 

  5. Elements of an array  are always stored in contiguous memory locations.

  6. Till the array elements are not given any specific values, they are supposed to contain garbage values.

  7. When the storage class of an array  is auto, default initial values are garbage values.If the storage class is declared to be static then all the array elements would have a default initial value as zero.