Previous Table of Contents "New C Standard" commentary

46 undefined behavior

behavior, upon use of a nonportable or erroneous program construct or of erroneous data, for which this International Standard imposes no requirements

47 NOTE Possible undefined behavior ranges from ignoring the situation completely with unpredictable results, to behaving during translation or program execution in a documented manner characteristic of the environment (with or without the issuance of a diagnostic message), to terminating a translation or execution (with the issuance of a diagnostic message).

48 EXAMPLE An example of undefined behavior is the behavior on integer overflow.


Created at: 2008-01-30 02:39:39 The text from WG14/N1256 is copyright © ISO