Code similar in structure to C pointer tut.