What header defines NULL in C++?

后端 未结 5 825
日久生厌
日久生厌 2020-12-15 03:10

According to C++ primer, header defines NULL. cpluspplus says it is defined in .

Ultimately, if

5条回答
  •  一整个雨季
    2020-12-15 03:41

    It is defined in

    The C++11 standard section 18.2, table 30 explains what's in It says:

    Table 30 — Header synopsis

    Macros: NULL [...]

    [...] The macro NULL is an implementation-defined C++ null pointer constant in this International Standard

提交回复
热议问题