Doubly Linklist | Data Structure | C Program

Doubly Link-list: INSERT AT BEGINNING: struct node *temp1,*temp2; temp1=(struct node*)malloc(sizeof(struct node)); printf("Enter value to insert:\n"); scanf("%d",&temp1->info); temp1->next=NULL; temp1->pre=NULL; if(start==NULL) start=temp1; else { temp1->next=start; start->pre=temp1; start=temp1; } INSERT AT GIVEN POSITION: int i,pos; struct node *temp1,*temp2; temp1=(struct node*)malloc(sizeof(struct node)); printf("Enter the postion:\n"); scanf("%d",&pos); printf("Enter value:\n"); scanf("%d",&temp1->info); temp1->next=NULL; temp1->pre=NULL; if(start==NULL) start=temp1; else if(pos==1) { temp1->next=start; start->pre=temp1; start=temp1; } else { temp2=start; for(i=1;i<pos-1;i++) temp2=temp2->next; temp1->next=temp2->next; temp2->next=temp1; temp1->pre=temp2; temp1->next->pre=temp1; } INSERT AT END: struct node...