Hacker News new | ask | show | jobs
by kazinator 4125 days ago
I stopped reading after the explanations about return ((1 - sizeof(int)) >> 32);

Unless size_t is wider than 32 bits, it has undefined behavior. That's why it returns 0; it could as well be 42, or the program could terminate with or without a diagnostic message, etc.