PROGRAM TO INSERT ELEMENTS IN CIRCULAR QUEUE
/*PROGRAM TO INSERT ELEMENTS IN CIRCULAR QUEUE*/ #include<conio.h> #include<iostream.h> #include<stdlib.h> #define MAX 5 void main() { int front=-1,rear=-1,i,a[MAX],item; char ch; clrscr(); do { if((front==0 && rear==MAX-1)||(front==rear+1)) { cout<<“Queue is full”<<endl; …