getpriority(source[ ]))target[jpop(st) ++push(stsource[ ]) ++else printf("\ incorrect element in expression")exit( )while((top!=- &(st[top]!='(')target[jpop(st) ++target[ ]='\ 'int getprioritychar opif(op=='/|op ='*|op=='%'return else if(op=='+|op=='-'return void push(char st[]char valif(top==max- printf("\ stack overflow")else top++st[topvalchar pop(char st[]char val='if(top==- printf("\ stack underflow")else val=st[top]top--return valoutput enter any infix expression + - * the corresponding postfix expression is ab+cd*the prefix expression is -+ab*cd evaluation of prefix expression there are number of techniques for evaluating prefix expression the simplest way of evaluation of prefix expression is given in fig