Stack using two queues

what is the error in this code i am not getting