Question: what is the difference between structure and array explain with example?
Answer: 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 size is not fixed as each element of Structure can be of different type and size.