Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Only in C++ pre C++11 - most C compilers use

#define NULL ((void *)0)

in which case, using NULL, you're comparing a function to a pointer.



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

Search: