3 ms·
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
by kazinator 12y 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.