Breaking News

Arrays of structures

The most common use of structures is in arrays of structures. To declare an array of structures, first the structure is defined then an array variable of that structure is declared.

E.g.: struct class student [100];

It defines an array called student which consists of 100 elements of structure named class.

Ans is stored inside the memory in the same way as a multidimensional array example program.

To implements on array of structures.


Check Also

Type modifier In C Programming Language

The basic data types may have modifier preceding them to indicate special properties of the object being …