Pointers and Structures
A pointer can be assigned the address of a structure just like other variables
It is generally more efficient to pass a pointer to a structure rather than the whole structure into a function
The elements of a structure pointer may be accessed via
particle p, *pp; double mass; pp = &p; mass = (*pp).mass;
or by the shorthand
mass = pp->mass;