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
Short-circuiting in C
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="Dr Nick, post: 4219287"] To be fair, and I know I'm coming late to the party, the OP was asking "is there a way to express what C usually does by a && b && c that doesn't do the short-circuiting behaviour" and then explained why. That seemed an entirely reasonable question about C. People suggested several ways and all pointed out that this couldn't guarantee it (and also that a really good compiler for his platform could cope with a && b && c in the way he wanted). [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Short-circuiting in C
Top