According to C++ primer, header defines NULL. cpluspplus says it is defined in .
NULL
Ultimately, if
In the latest version of MinGW (MinGW 5.3.0) NULL was defined in the wchar.h header as :
#define NULL 0