You are viewing a single comment's thread. Return to all comments →
If you dont mind me asking you, could you explain why you do this:
stk.push(st); // why push the string onto the stack when its
//empty? why not after (st+=str) cause then this would append to the string?