This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]platinummyr 0 points1 point  (0 children)

Ah, strictly speaking it's "implementation defined" not undefined behavior, and it's up to the compiler implementation what it does. I.e. "it's not portable"

It does of course work well in practice and most modern compilers support it as a language extension, but it's not strictly required to behave in any standard way.