Transform the expression

c-plus-plus
strings

#1

@http://www.codechef.com/viewsolution/5636294

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?


#2

Good explained here and here.