+ 1
What does the nullptr refer to?
nullptr
2 Answers
+ 2
It's a null pointer. Null pointers don't refer to anything.
0
Pointers are sensitive to use. therefore if we declare a ptr which is not pointing to any location. it is recommended to initialise it with null. so that a null ptr. would become safe and a ptr. not pointing to any legal location.