3 ms·
> you'd be hard pressed to find a system in 2019 where NULL != (void *)0 You'd be hard pressed to find a system at any time where NULL is not equal to a compil
by cperciva 8y ago
> you'd be hard pressed to find a system in 2019 where NULL != (void *)0
You'd be hard pressed to find a system at any time where NULL is not equal to a compile-time constant zero. ;-)
- hedora 8y ago> The Prime 50 series used segment 07777, offset 0 for the null pointer, BAM!!! (All I had to do was click on the link in the comment you replied to, but the pedantry in this subthread is glorious, and I had to contribute — downvoters, this is your chance to school me on HN etiquette!)
- cperciva 8y agoYou're missing the point. "(void *)0" is guaranteed to be a NULL pointer, even when said pointer is not represented in memory by zeroes.