Transform the expression

@CodeChef: Practical coding for everyone

please see my code, there i have to declare the post fix expression as array of characters(char ch[100]), I have tried declaring post fix expression using string class (string pf) but it’s not working I don’t understand why??

Is there any difference between working of strings declared as array of characters and string class?

Good explained here and here.