Home » Archives for December 18th, 2009
Array Type Members of Structures
Array Type Members of Structures:
The members of structure may be of different types. These can also be simple variables or array variables.
For example, in the following structure, the member “sub” is an array of int type. It has four elements. The member “name” is of string type and a string is also an array.
struct rec
{
char name [15];
int sub [4]
};
Method to access the elements of...