Write a program to illustrate array of structures?
struct customer
{
int id;
char name[15];
};
struct customer c[100]; .
In the above instance, the array of Structures is meant to use to find the details of 100 different customers. This statement offers space in memory for 100 structures of the type struct customer. The syntax to reference to all element of the array c is the same to ordinary arrays of ints and chars that is the first customer's name will be referenced as c[1].name.