Write a Program in c that implement Queue and its operations ( insertion and deletion ) using linked lists
/* Write a Program in c that implement Queue and its operations ( insertion and deletion ) using linked lists */ #include <stdio.h> #include <stdlib.h> struct node { int info; struct node *ptr; }*front,*rear,*temp,*front1; void enq(int data); void deq(); void empty(); int count = 0; void main() { int no, ch, e; printf("\n 1 - Enque"); printf("\n 2 - Deque"); printf("\n 3 - Exit"); printf("\n 4 - Display"); while (1) { printf("\n Enter choice : "); scanf("%d", &ch); switch (ch) { case 1: printf("Enter data : "); scanf("%d", &no); enq(no); break; case 2: deq(); break; case 3: exit(0); case 4: display(); break; default: printf("Wrong choice, Please enter corr