Term
|
meaning
|
Node <T> * first;
|
Declaring a pointer first to the 1st node. First ptr may
contain int ,float, or char address
|
First=NULL
|
Empty linked list
|
Node<T> *p=first;
p->data;
|
Accessing the data of the node object
|
Node<T> *p;
p->link;
|
Accessing the link (pointer) of the node object.
|
P=p->link
|
Moving the pointer p to next node
|
|
|
Friday, 26 August 2011
Some terminology of Linked List programs
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment