How is Structure different from an Array?
An array is a collection of homogenous data members (eg) int a[10]; contains 10 integers indexed from 0 to 9.
The structure is a collection of heterogeneous data members.
(eg) struct student
{
int rollno;
char name [20];
};