1. typedef is used to rename the data type. Here struct node is actual
data type of linked list node and is renamed to NODE using
typedef .Instead of using struct node each time we declares a new
node variable we can use simply NODE.
2.**start is required if you pass actual parameter as address,
suppose NODE *temp = (NODE *) malloc (sizeof(NODE));
is the new node created; and you have to use the following function
call
createemptylist(&temp);
It is important to pass this by address as changes
made in the called function should be reflected on the linked list.
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.