> The XOR trick is only cool in its undefined-behavior form:
> a^=b^=a^=b;
I believe this is defined in C++ since C++17, but still undefined in C.