Pointers to Structure
The arrow operator is a combination of dereferencing and field access.
struct link { int value; link * next; // pointer to next link in chain};link finalElement; // declare a single default elementlink * firstLink = & finalElement;
// set pointer to initially refer to this(*firstLink).value = 7; // these two statementsfirstLink->value = 7; // have the same effect