Order of operations

I thought this would be an easy look up but the search terms are kinda ambiguous

What are the order of operations in this expression?


I know.. simple, thank you in advance


var1 = var1 - (var2 + var3);

Thank you AWOL, that is what I was guessing,

Then this is definitely what im trying to do (but what I though what I posted was doing)


That short hand would have introduced a fun bug to chase if I wasn't paying attention

Stop messing and use the expanded format. The end result will be the same and you won't make so many mistakes

but the search terms are kinda ambiguous

Operator precedence is the search term you are looking for. There is nothing ambiguous about it.