Follow

A Guide to Undefined Behavior in C and C++ 

The execution of a program consists of simple steps such as adding two numbers or jumping to a label. If every step in the execution of a program has defined behavior, then the entire execution is well-defined. Note that even well-defined executions may not have a unique result due to unspecified and implementation-defined behavior; we’ll ignore both of these here.

— John Regrhr, blog.regehr.org/archives/213 (emphasis mine)

Don't you love how C doesn't just have undefined behaviour, but also unspecified and implementation-defined behaviour, too?

don't you just love how simple and easy C is?

Sign in to participate in the conversation
Cathode Church

A place for trans makers, coders, tinkerers and dreamers.