TOC | Prev | Next

That scary word: undefined

"Undefined" in C means that the behavior can be anything the compiler
wants it to be.

For example, accessing a local variable that has not been initialized
is undefined behavior. The most likely result is that you'll get
a random value in return.

Not calling return from a function that wants to return a value
may return a random value, or the program may crash. It's undefined
behavior.

TOC | Prev | Next