printf("\ peek")printf("\ display")printf("\ exit")printf("\ enter your option ")scanf("% "&option)switch(optioncase printf("\ enter the number to insert in the queue:")scanf("% "&val) insert( ,val)breakcase delete_element( )breakcase val peek( )if(val- printf("\ the value at front of queue is % "val)breakcase display( )break}while(option ! )getch()return void create_queue(struct queue *qq -rear nullq -front nullstruct queue *insert(struct queue * ,int valstruct node *ptrptr (struct node*)malloc(sizeof(struct node))ptr -data valif( -front =nullq -front ptrq -rear ptrq -front -next -rear -next nullelse -rear -next ptrq -rear ptrq -rear -next nullreturn qstruct queue *display(struct queue *qstruct node *ptrptr -frontif(ptr =nullprintf("\ queue is empty")else printf("\ ")