i am new to Data Structures and Algorithim and i am having some troubles getting around the whole topic of linked list and how its connected to nodes. The problem that is confusing me is with pointers and what they point to
This is a sample question off a textbook
(i) "What happens to the pointer head when the object obj is added to an empty linked list?"
head1 = new listNode(obj, head);
(ii) Write A Constructor to represent (i)
I've seen that stack overflow is the place to get some help, and i need some immediate help, all thoughts will be deeply appreciated. Thanks in Advance
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…