#define max /changing this value will change length of array int queue[max]int front - rear - void insert(void)int delete_element(void)int peek(void)void display(void)int main(int optionvaldo printf("\ \ ****main menu *****")printf("\ insert an element")printf("\ delete an element")printf("\ peek")printf("\ display the queue")printf("\ exit")printf("\ enter your option ")scanf("% "&option)switch(optioncase insert()breakcase val delete_element()if (val !- printf("\ the number deleted is % "val)breakcase val peek()if (val !- printf("\ the first value in queue is % "val)breakcase display()break}while(option ! )getch()return void insert(int numprintf("\ enter the number to be inserted in the queue ")scanf("% "&num)if(rear =max- printf("\ overflow")else if(front =- &rear =- front rear else rear++queue[rearnumint delete_element(int val