Undefined behavior

A computer program exhibits undefined behavior (UB) when it contains, or is executing code for which its programming language specification does not mandate any specific requirements. This is different from unspecified behavior, for which the language specification does not prescribe a result, and implementation-defined behavior that defers to the documentation of another component of the platform (such as the ABI or the translator documentation).

Source: Wikipedia — Undefined behavior (CC BY-SA 4.0)

Undefined behavior

A computer program exhibits undefined behavior (UB) when it contains, or is executing code for which its programming language specification does not mandate any specific requirements. This is different from unspecified behavior, for which the language specification does not prescribe a result, and implementation-defined behavior that defers to the documentation of another component of the platform (such as the ABI or the translator documentation).

This neuron ends here.

Source: Wikipedia "Undefined behavior" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy