A null pointer constant is an integer constant expression equal to zero, or such an expression cast to void *
. This can be implicitly converted to any pointer type resulting in a null pointer.
References
- FAQ section 5 Null Pointers
- The C Standard, 6.3.2.3 (N1124 numbering)