6
6
h>
#include <stdlib.h>
#include <ctype.h>
typedef struct {
int top;
char items[MAX];
} Stack;
int main() {
char infix[MAX], postfix[MAX];
infixToPostfix(infix, postfix);
return 0;
}
// Initialize stack
void initStack(Stack *s) {
s->top = -1;
}
int i = 0, k = 0;
char ch;
while (!isEmpty(&s)) {
postfix[k++] = pop(&s);
}
postfix[k] = '\0';
}