if (left =- )/*if queue is initially empty*left right else if(left = left=max- else left=left- deque[leftvalvoid delete_left(if (left =- printf("\ underflow")return printf("\ the deleted element is % "deque[left])if(left =right/*queue has only one element *left - right - else if(left =max- left else left left+ void delete_right(if (left =- printf("\ underflow")return printf("\ the element deleted is % "deque[right])if(left =right/*queue has only one element*left - right - else if(right = right=max- else right=right- void display(int front leftrear rightif(front =- printf("\ queue is empty")returnprintf("\ the elements of the queue are ")