Concate two doubly linked list by R4R Team

Following function are used concat two doubly linked list:

void concate(struct node *ptr1,struct node *ptr2)
{
while(ptr1->link!=NULL)
{
ptr1=ptr1->next;
}
ptr1->next=ptr2;
ptr2->pre=ptr1;
}




Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!