3 ms·
It's an abstraction taken from C++ (and virally transmitted back to C99). ANSI NULL can be anything the implementer wants it to be, not just (void *)0. Frankly
by kevin_thibedeau 11y ago
It's an abstraction taken from C++ (and virally transmitted back to C99). ANSI NULL can be anything the implementer wants it to be, not just (void *)0.
Frankly it's the dumbest misfeature from C++ that should have had nullptr from day one. What's the point of constructing a rigorous type safety system if you're going to go and break it with magic integers that can act like pointers.