In C++11 we check for nullptr not NULL.