The point is you are supposed to avoid undefined behavior, precisely because these things can be different between compilers. In theory, this lets the compilers optimize better for a specific platform&#x2F;cpu, while avoiding changing the meaning of the programmer&#x27;s code. In practice, most platforms and compilers have done the same exact thing with the same &quot;undefined&quot; behavior, that a large body of code relies on that defacto standard.