what is difference between structure and array?
A structure creates a data type that can be used to group items of possibly different types into a single type. Array refers to a collection consisting of elements of homogenous data type. Structure refers to a collection consisting of elements of heterogenous data type.