That is exactly my answer
You answered my question in last paragraph of your post.
You are right.At the same order of precedence,associativity solves the evaluation problem.Here * and / have same precedence level so associativity rule is applied to the + operator and as you mentioned math operators are left-associative,therefore leftExp is evaluaetd first.
Thanks a milion Dr. Purdum
I got lots of things in these posts...
Erfan
|