In computer programming, undefined behavior is the result of executing a program whose behavior is prescribed to be unpredictable, in the language specification of the programming language in which the source code is written.
In computing (particularly, in programming), undefined value is a condition where an expression does not have a correct value, although it is syntactically correct.