What header defines NULL in C++?

后端 未结 5 830
日久生厌
日久生厌 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:43

    The C++11 Standard says NULL must be defined in multiple files. They are:

    
    
    
    
    
    
    

    This is mentioned in Table 149, Section C.3 C standard library/3 of the standard.

    Here's an image of the table and some surrounding text.

提交回复
热议问题