im trying 2 implement a queue using 2 stacks but my code isnt functioning can u pls spot the error : `enter code here`    #include <stdio.h>
`enter code here`    #include<stdlib.h>
 `enter code here`   #define MAX 5
`enter code here`    typedef struct stack
`enter code here`    {
`enter code here`    int top;
`enter code here`    int arr[MAX];
`enter code here`    }stack;
`enter code here`    void enque(stack*s1,int ele)
`enter code here`    {
`enter code here`     printf("entering");
`enter code here`     push(&s1,ele);
`enter code here`     printf("what a pain");
`enter code here`    }
 `enter code here`   void push(stack*s,int ele)
 `enter code here`   {
 `enter code here`   if(s->top==MAX-1)
`enter code here`    {
`enter code here`    printf("OVERFLOW");
`enter code here`    }
`enter code here`    else
`enter code here`    {
`enter code here`    s->arr[++s->top]=ele;
`enter code here`    }
`enter code here`    }
`enter code here`    int deq(stack*s1,stack*s2)
`enter code here`    {
`enter code here`    int x;
`enter code here`    if(s1->top==-1&&s2->top==-1)
`enter code here`   {
`enter code here`     printf("empty");
`enter code here`    }
`enter code here`    else
`enter code here`    {
`enter code here`     if(s2->top==-1)
`enter code here`     {while(s1->top!=-1)
`enter code here`     {
`enter code here`     push(&s2,pop(&s1));
 `enter code here`    }
 `enter code here`    }
 `enter code here`    x=pop(&s2);
`enter code here`     return x;
`enter code here`    }
`enter code here`    }
`enter code here`    int pop(stack *s)
`enter code here`    {
`enter code here`    if(s->top==-1)
`enter code here`    {
`enter code here`     printf("UNDERFLOW");
`enter code here`    }
`enter code here`    else
`enter code here`    {
`enter code here`    return s->arr[s->top--];
`enter code here`    }
`enter code here`    }
`enter code here`    void display(stack*s)
`enter code here`    {
`enter code here`    printf("entered display");
`enter code here`    int i;
`enter code here`    for (i = 0;i <= s->top;i++)
`enter code here`    {
`enter code here`    printf(" %d",s->arr[i]);
`enter code here`    }
`enter code here`    }
`enter code here`    int main()
`enter code here`    {
`enter code here`    int ch,ele,c;
`enter code here`    stack s1,s2;
`enter code here`    s1.top=-1,s2.top=-1;
`enter code here`    do{
`enter code here`    printf("1 - Enqueue2-deq3-display4-exit\n");
`enter code here`    printf("Enter choice");
`enter code here`    scanf("%d", &ch);
`enter code here`    switch (ch)
`enter code here`    {
`enter code here`    case 1:printf("enter ele of ur choice");
`enter code here`   scanf("%d",&ele);
`enter code here`    enque(&s1,ele);
`enter code here`    break;
`enter code here`    case 2:
`enter code here`    c=deq(&s1,&s2);
`enter code here`     printf("%d",c);
`enter code here`     break;
`enter code here`     case 3:
`enter code here`    display(&s1);
`enter code here`     break;
`enter code here`     case 4:
`enter code here`     exit(0);
`enter code here`     default:
`enter code here`     printf("Wrong choice");
`enter code here`     }
`enter code here`     }while(ch!=5);
`enter code here`   }
