LINKED LIST
Linked list is collection of homogeneous elements oganisde in form of series of nodes.Each node in linked list is divided into two or more parts.1.Data part-data part contains element of list.
2.Link part-link part is pointer that holds address of next node of list.Three special types of pointer are used in linked list:-
(a)Start pointer-start pointer holds the address of first node of the lik.it is also called head pointer.
(b)List pointer-it holds tha address of next node of list.
(c)Null pointer-it indicates end of list i.e. last node of the list.
No comments:
Post a Comment