Hacker News new | past | comments | ask | show | jobs | submit login

> The problem is that in practice NULL pointers are often caused by other things, like thinking that zero-initialized memory contains a pointer

Which, to be clear, is not a valid assumption wrt portable C or C++.




While C may not mandate zero-initialized pointer is NULL, POSIX does.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: