top of page
Writer's pictureApurba Paul

Singly Linked List- Part 7

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


bottom of page