
C/C++ arrays allow you to define variables that combine several data items of the same kind butstructure is another user defined data type which allows you to combine data items of different kinds.
Structures are used to represent a record, suppose you want to keep track of your books in a library. You might want to track the following attributes...