I want to evaluate my prefix expression. For this I am using logic in which
1. I reversed the expression, (on reverse it's not converted to post fix)
2. And then evaluating this reversed expression using stack.
Is my logic correct?
Will this cause any error / invalid evaluation?
Thanks in advance... :)