top of page

Singly Linked List- Part 7

Writer's picture: Apurba PaulApurba Paul

This Function accepts two list and concat second list with first list.

//Concat Function void display_cat() { Node1 *tptr1=start1,*tptr2=start1; while(tptr1->Link!=NULL) { tptr1=tptr1->Link;

} tptr1->Link=start2; printf("\nConcatenated List:\n"); while(tptr2) { printf("->%d",tptr2->info); tptr2=tptr2->Link; } }

2 views0 comments

Recent Posts

See All

Comments


9874752090

©2019 by Mr. Apurba Paul. Proudly created with Wix.com

bottom of page