Q: Is a run-time integral value of 0, cast to a pointer, guaranteed to be a null pointer?
A: No. Only constant integral expressions with value 0 are guaranteed to indicate null pointers. See also questions 4.14, 5.2, and 5.19.
Hosted by