Ok, new problem. I have figured out this problem, but I am not sure how to present it in my assignment.
The question says
Quote
Do Exercise 8a, page 346, Chapter 5 from Malik.
Show what is produced by the following C++ code. Assume the node is in the usual info-link form
with info of type int. (list and ptr are pointers of type nodeType.)
It doesn't say I need to provide code or output, just show what is produced. Does this mean I need to draw a trace table or similar structure to show where the pointers point to or just show in which order the info is printed.
Thanks
Chris Botha
=============================
Far and away the best prize that life has to offer is the chance to work hard at work worth doing.
Theodore Roosevelt