User Tools

Site Tools


user:rakbar:portfolio

This is an old revision of the document!


September 25th, 2014 (Week-05)

This week we started off talking about our second project which is Node_01. We discussed about

      mknode - allocates new node containing value
      mknode - It makes a duplicate node, just by calling cpnode, it makes a duplicate. 
      rmnode - Frees the node/ de-allocates it. All contents of the node gets reset and it gets de-allocate
               it.

Link List

Link list insertions

insert/append - to put something in a list Insert - Inserting has to be done before Append - Appending is done after.

A small example of an insertion

tmp2→next = temp;

            tmp = start;

while(tmp2→next != tmp2→next);

            tmp = tmp->next;
      tmp->next = tmp2;  

data

user/rakbar/portfolio.1411962975.txt.gz · Last modified: 2014/09/29 03:56 by rakbar