C++11 corrects this by introducing a new keyword to serve as a distinguished null pointer constant: nullptr. It is of type nullptr_t, which is implicitly convertible and comparable to any pointer type or pointer-to-member type.
C++11 rectifies the issue by introducing a novel keyword, nullptr, which serves as a unique null pointer constant. This keyword, belonging to the type nullptr_t, can be effortlessly converted and compared to any pointer type or pointer-to-member type.