Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
Not only does the C language not guarantee it, it also will fail on actual compilers, as soon as you enable optimisation (which you'll generally want to do because you want your code run fast, afte...
Answer
#1: Initial revision
Not only does the C language not guarantee it, it also will fail on actual compilers, as soon as you enable optimisation (which you'll generally want to do because you want your code run fast, after all). [Try it online!](https://tio.run/##S9ZNT07@/185My85pzQlVcGmuCQlM18vw46LKzOvRCE3MTNPQ1OhmksBCEACiQq2CqbWcG4ShKmtraWhlqSgrWCoCREoKALKpmkoqabE5CnpKCRChYtSS0qL8hQMrLlq////l5yWk5he/F/XHwA "C (gcc) – Try It Online")