nulltpr is a keyword that represents zero as an address(its type is considered a pointer-type),while NULL is the value zero as an int. If you’re writing something where you’re referring to the zero address ,rather than the value zero, you should use nullptr.
nulltpr是一个关键字,将零表示为一个地址(其类型被视为指针类型),而NULL则将值零表示为一个int。 如果要写的内容是指零地址而不是零,则应使用nullptr。