Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Because it invokes UB.
 help



Well, yes, but as a C decidedly-not-an-expert, I didn't understand what kind of UB it was invoking that could make all three of those expressions simultaneously false.

That is your mistake, right here. UB can cause everything, there does not need to be a "reason" or "kind of UB".

(If you are looking for an explanation how it happens in practice, see the other comment).




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: