Question: what is the difference between null and nullptr in c++?
Answer: NULL is a “manifest constant” (a #define of C) that's actually an integer that can be assigned to a pointer because of an implicit conversion. nullptr is a keyword representing a value of self-defined type, that can convert into a pointer, but not into integers.