A Guide to Undefined Behavior in C and C++


Responsive image Programming languages typically make a distinction between normal program actions and erroneous actions. For Turing-complete languages we cannot reliably decide offline whether a program has the potential to execute an error; we have to just run it and see.

Part 1
Part 2
Part 3