Hacker News new | past | comments | ask | show | jobs | submit
> what is wrong with NULL?

For starters, you have to #include a header to use it.

And it avoids the NULL == 0 ambiguity, allowing for better type checking.
Well, I always include stdio.h which includes stddef.h that defines NULL as (void *)0.
In my experience, hardly any source files require studio.h

stddef.h on the other hand is required by most to get size_t