please help me with this
output is on the attachmentCode:#include<stdio.h> #include<conio.h> struct node { int info; struct node *link; }; typedef struct node list; list *first=NULL; void insertb(int); void deleteb(); void traverse(); void main() { int ch,x; clrscr(); while(1) { printf("\nLINK LIST OPERATIONS: "); printf("\n1. INSERTION AT BEGINNING"); printf("\n2. DELETION AT BEGINNING"); printf("\n3. TRAVERSE"); printf("\n4. EXIT"); printf("\nEnter your choice : "); scanf("%d",&ch); switch(ch) { case 1: printf("\nEnter value to be inserted : "); scanf("%d",&x); insertb(x); break; case 2: deleteb(); break; case 3: traverse(); break; case 4: exit(0); default: printf("->PLEASE ENTER CORRECT CHOICE"); } } } void insertb(int x) { list *newn; newn=(list*)malloc(sizeof(list)); newn->info=x; newn->list = first; first=newn; } void deleteb() { int x; list *temp; if( first == NULL) { printf("\nLIST IS EMPTY "); } else { temp = first; x = temp->info; first = first->link; printf("\ndeleted element is %d ",x); free(temp); } } void traverse() { list *temp; if(first == NULL) { printf("\nLIST IS EMPTY"); } else { temp=first; printf("\nlist elements are : "); while(temp!=NULL) { printf("\n%",temp->info); temp=temp->link; } } }