main()
{ int num,choice;
struct node *start,*temp;
start=(node *)malloc(sizeof(node));
temp=start;
temp->next=NULL;
while(choice!=4)
{
printf("enter choice number\n");
printf("1)add an element\n2)delete an element\n3)display list\n4)to exit");
scanf("%d",&choice) ;
if(choice==1)
{ printf("enter element to be added");
scanf("%d",&num);
incert(num,temp);
printf("\n");
}
else if(choice==2)
{
printf("enter the data to be deleted");
scanf("%d",&num);
del(num,start);
}