32.
Consider the postfix expression 4 5 6 a b 7 8 a c, where a, b, c are operators. Operator a has higher precedence over operators b and c. Operators b and c are right associative. Then, equivalent infix expression is

37.
In the given C snippet, find the statement number that has error.
//C code to push an element into a stack
void push( struct stack *s, int x) 
{
    if(s->top==MAX-1)
    {
        printf(“stack overflow”);
    }
    else
    {
        s->items[++s->top]=x;
        s++;
    }   
 }

Read More Section(Stacks in Data Structures)

Each Section contains maximum 100 MCQs question on Stacks in Data Structures. To get more questions visit other sections.