void infixtopostfix(char source[]char target[])int getpriority(char)int main(char infix[ ]postfix[ ]clrscr()printf("\ enter any infix expression ")gets(infix)strcpy(postfix"")infixtopostfix(infixpostfix)printf("\ the corresponding postfix expression is ")puts(postfix)getch()return void infixtopostfix(char source[]char target[]int = = char tempstrcpy(target"")while(source[ ]!='\ 'if(source[ ]=='('push(stsource[ ]) ++else if(source[ =')'while((top!=- &(st[top]!='(')target[jpop(st) ++if(top==- printf("\ incorrect expression")exit( )temp pop(st);//remove left parenthesis ++else if(isdigit(source[ ]|isalpha(source[ ])target[jsource[ ] ++ ++else if (source[ ='+|source[ ='-|source[ ='*|source[ ='/|source[ ='%'while(top!=- &(st[top]!'('&(getpriority(st[top]getpriority(source[ ]))target[jpop(st) ++push(stsource[ ]) ++else