Day16 (Structure and Union)
Day16 (Structure and Union)
Definition of Structure
Array is a collection of same type of elements but in many real life applications we
may need to group different types of logically related data. For example, if we want
to create a record of a person that contains name, age, and height of that person, then
we can’t use array because all three data elements are of different types.