I have this problem that I can't figure out, I can't figure out the line
statement that needs to go in.
Here's the problem
struct NodeType
{
int data;
NodeType* p;
};
NodeType* p;
NodeType* q;
p = new NodeType;
p->data = 18;
q = new NodeType;
q->data = 32;
<-- statement missing here
q->link = NULL;
I've look @ ever example and went over the chapter on linked structures / linked list, however I just can't figure it out!!! Help
thanks for your time.