Notice that the node has two elements,
Notice that the node has two elements,
- an information member
- a pointer member.
As with all structures, the individual elements are referenced using a the dot notaton and the element identifier.
However, there is no structure identifier in this example, therefore the pointer variable p along with the operator * is used.