
Enter an integer value; a negative value ends the run.
4
Enter an integer value; a negative value ends the run.
5
Enter an integer value; a negative value ends the run.
6
Enter an integer value; a negative value ends the run.
7
Enter an integer value; a negative value ends the run.
-8
The following values were entered.
1
2
3
4
5
6
7
Because the item type of a list node can be any data type, we can create an infinite
variety of lists. Pointers also can be used to create very complex data structures such
as stacks, queues, and trees, which are the subject of more advanced computer science
courses.
Structures with Pointer Variables
It is very important to make the distinction ...