Re:What Every C Programmer Should Know About Undefined Behav...
by 0xcde4c3db on Thursday January 05, 2017 @10:28AM
(#13327831)
Yes, NULL is another exception that I forgot. I'm not sure this is ever explicitly stated as a distinct rule in the standard, but it seems to be implied by various arithmetic and conversion operations on pointers being UB if the result doesn't point to a valid object.
[ Parent
| on HN ]
There are no comments on this comment yet.