Array is composite data type. A composite data type is one whose values are composed of component values (possibly values chosen from other data types.) Example of composite data type is array.
int a[ ] = {1,2,3,4,5};
In above example, as far as I understand it, is composite because an array-of-int value is comprised of some number of element values chosen from the int type. Using composite data types, we can manage multiple pieces of related data as a single datum. An array is the concept of using a number of values declared with in the same data type.
Please explain in simple way array is composite data type. Explain this statement with example?