Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
expression and evaluation order and precedence rules
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Chris Dollin, post: 2915472"] (fx:snip) (fx:nitpick) False. Given the expression `b() * c() + d()`, it is /exactly/ the precedence that determines that the addition is done after the multiplication (in the C abstract machine) -- because one operand of the addition is the result of the multiplication. It doesn't determine the order of those particular /operands/, of course; that doesn't matter, because of "nitpick" and-jointly "*anything*". (I share with you the idea that it's important for newbies to learn that P&A doesn't determine OOE; but your extreme wording leaves your lesson more subject to attack than a less extreme wording would. IMAO.) -- "You're not supposed to /think/ about it, /The Beiderbeck Connection/ you're supposed to say NO!" Jill Swinburn Hewlett-Packard Limited registered no: registered office: Cain Road, Bracknell, Berks RG12 1HN 690597 England [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
expression and evaluation order and precedence rules
Top