Insert delete using Queue in C
Program #include<stdio.h> #include<stdlib.h> void insert(); void dequeue(); void display(); int front = -1, rear = -1 ,maxsize; int queue[100]; int main () { int choice; printf("\n Enter the size of QUEUE : "); scanf("%d",&maxsize); printf("\n QUEUE OPERATIONS USING ARRAY"); printf("\n1.insert an element\n2.Delete an element\n3.Display the queue\n4.Exit"); while(choice != 4) { printf("\nEnter your choice : "); scanf("%d",&choice); switch(choice) { case 1: ...