Expressions within parentheses are always evaluated first.
If there are nested sets of parentheses the inner most parentheses are evaluated first.
You can avoid all precedence issues in your own code by always using parentheses to force the order of evaluation.
You have to know the order when reading other peoples code.