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
Bit Pattern Problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Barry Schwarz, post: 2386178"] Could someone please explain what section 6.5.16-4 means "The order of evaluation of the operands is unspecified. If an attempt is made to modify the result of an assignment operator or to access it after the next sequence point, the behavior is undefined." I understand the order of evaluation part. d = b*b-4*a*c; if (d>0) ... This is pretty common code and obviously not undefined behavior if the variables are properly defined and assigned values. But it seems that the if statement attempts to access the result of the previous assignment operator after the end of statement sequence point as described in the quote. What am I misinterpreting? <<Remove the del for email>> [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Bit Pattern Problem
Top