int queue()  
{
if(isEmpty())
{
return -15;
}
else
{
int b;
N= q[front];
front++;
return b;
}
}

Posted on by