Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

. Field Access Operator

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.