2 ms·
C implementations are allowed to use a not-all-bits-zero representation for null pointer values. They are merely required to convert integer constant expression
by layer8 6y ago
C implementations are allowed to use a not-all-bits-zero representation for null pointer values. They are merely required to convert integer constant expressions with value zero to a null pointer value — regardless of how the resulting null pointer value is represented in memory.
See also these FAQs:
http://c-faq.com/null/machnon0.html http://c-faq.com/null/machnon0.html
http://c-faq.com/null/machexamp.html http://c-faq.com/null/machexamp.html