This is part of a homework assignment, and the wording of the question is kind of confusing me. Say I want to traverse a list. I'll set a temporary pointer to the head of the list, and then I'll have it iterate from node to node until I reach the end.
At what point am I allocating node space referred to by the pointer when declaring it? I'm declaring the pointer and setting it to the head of the list? I don't understand what is being allocated here other than a few bits in memory to store the pointer.