-> Indirect Structure Field Reference Operator
structptr->field indirect reference of structure field
structptr a pointer to a structure
field any field name of the structure
The -> operator is a convenient shorthand for referencing a field of
a struct variable pointed to by a pointer. It replaces the
equivalent--but clumsy--expression:
(*structptr).field
Seealso: