Define the Processing of a Structure?
The members of structure are typically processed individually as separate entities. So we must be able to access the individual structure members and a structure member can be accessed by writing
variable. member
Wherever variable refers to the name of a structure-type variable and member refers to the name of a member within the structure. Notice the period (.) that divides the variable name from the member name. This period is an operator it is a member of the highest preference group and its associatively is left - to - right. Consider the following structure declarations:
struct date
{
int month;
int day;
int year;
};
struct account t
{
int acct-no;
char acct-type;
char name[80];
float balance;
struct date lastpayment;
} customer ;