Field access operator is used to access fields in contained scopes.
Syntax:
id.id[.id[.id …]]
The following code fragment illustrates the use of the field access operator:
struct A
{
struct
{
int c;
} b;
int Array[b.c]; // access the c field inside the b field
};
struct, union, case union or pointer field may be used on the left of the field access operator.