2 ms·
No, undefined behavior is specified by the standard. There is also 'implementation defined' which tends to be both architecture and compiler specific. The diff
by rocqua 7y ago
No, undefined behavior is specified by the standard. There is also 'implementation defined' which tends to be both architecture and compiler specific.
The difference is that a program which invokes 'implementation defined' behavior can be well defined, whereas a program that invokes undefined behavior is literally free to do anything.