Merge two doubly linked list in C

PROGRAM TO MERGE TWO DOUBLY LINKED LISTS

Posted on November 17, 2016 by

/*PROGRAM TO MERGE TWO DOUBLY LINKED LISTS*/
#include
#include
struct node
{
int data;
struct node *flink,*plink;
};
void main[]
{
struct node *start=NULL,*start1=NULL,*ptr,*temp,*temp1,*ptr1,*ptr2;
int num;
char ch;
clrscr[];
coutflink=start;
temp->plink=NULL;
start->plink=temp;
start=temp;
}
coutch;
}while[ch==y];
cout

Chủ Đề