Member and Pointer Operators

Array subscript
You can access array elements by specifying the name of the array, and the array subscript (or index, or element number) enclosed in brackets. Remember that the array elements are numbered starting with zero.

Structure reference
You can use the member access operator. to access the members of a structure or union variable. You put the name of the structure variable on the left side of the operator, and the name of the member on the right side.

Indirection
The object pointed to by a.

Reference / Address Operator
The address operator & gets the memory address of an object.

Structure dereference / Indirect Member Access Operator
You can access the members of a structure or union variable via a pointer by using the indirect member access operator ->. x->y is equivalent to (*x).y.

Syntax
a[b]

a.b

*a

&a

a->b