programming example write program to implement multiple queues #include #include #define max int queue[max]reara=- ,fronta=- rearb=maxfrontb maxvoid inserta(int valif(reara==rearb - printf("\ overflow")else if(reara ==- &fronta =- reara fronta queue[rearavalelse queue[++rearavalint deletea(int valif(fronta==- printf("\ underflow")return - else val queue[fronta]fronta++if (fronta>rearafronta=reara=- return valvoid display_queuea(int iif(fronta==- printf("\ queue is empty")else for( =fronta; <=reara; ++printf("\ % ",queue[ ])void insertb(int valif(reara==rearb- printf("\ overflow")else if(rearb =max &frontb =maxrearb frontb max- queue[rearbvalelse queue[--rearbval