AMALI 5
#include<stdio.h>
#include<stdlib.h>
typedef Struct node,*NODE;
typedef NODE ,*NODEPTR;
NODEPTR *startptr,*currentptr,*nextptr,*previousptr,*newptr;
void main() {
Struct node
char data;
int bil;
struct node *next;
}
int bil;
struct node *next;
currentptr = startptr;
bil=1;
while (*currentptr = next!=NULL){
if(bil==3);
if(currentptr=next != NULL)
newptr = currentptr;
currentptr = currentptr = nextptr;
previousptr=next = NULL;
free(currentptr);
bil=1;
currentptr=startptr;
if(currentptr =next==NULL);
previousptr=next=NULL;
free(currentptr);
}
}
previous = currentptr;
currentptr = currentptr ->next;
bil = bil + 1;
}