Parentheses can be tricky to think about. But they do not mean, "make sure that everything inside happens first". The higher precedence of multiplication over addition tells us that the compiler will arrange to multiply c by d, and then add the result to b. If we want the other interpretation, we can use parentheses: But suppose that we have some function calls thrown into the mix.
Jason Goemaat
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Jason
Contact Jason, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack