Structures :
Arrays are used to store group of similar values and are being referred by a single name. Whereas STRUCTURES are used to store a group of different types of values under single name. These are helpful specially when we want to implement student admission details or address book or marks details or salary particulars etc.
For example:
An address book contains name, street, area, pincode/zipcode, contact number, email, etc. can be easily represented by using Structures.
Comments
Post a Comment