First, I am sorry for my later reply, but I was out of town for a while
nebulus200, I didn't get you ... I have two structures - temp and list. list i poiting to the start of the list and temp - to the end. Do you mean something like this:
Code:
struct *ctrl, *node;
node=list;
ctrl=node;
ctrl->next=temp