Double equals needed, not single.Code:Boolean StackFull(Stack *stack) { return(stack->top = MAXSTACK); }
Additional semi-colon used in error, remove it.Code:In function TraverseStack for (counter = 0; counter < stack->top; counter++);
Have fun