Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
JoeAltmaier
on Jan 16, 2018
|
parent
|
context
|
favorite
| on:
Can (a ==1 && a== 2 && a==3) ever evaluate to true...
In a C macro this is a classic problem - if 'a' is an argument to a macro, and 'i++' is provided to the macro, and 'i' had the value of 1, then this could evaluate to true.
contravariant
on Jan 17, 2018
[–]
Or you could just trigger undefined behaviour, in which case it
might
evaluate to true.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: