If parenthesis has a higher precedence then why is increment operator solved first?

Expressions are evaluated left to right. Parentheses (and precedence) just express grouping, they don’t express ordering of evaluation.

So

 11 * (12 + 5)
++a   ++a

equals

187

Leave a Comment