O'Reilly logo
  • LI WEI thinks this is interesting:

A null pointer is a pointer variable with the value 0. In general, most programmers like to initialize pointers to Null (0) on the creation of new pointer variables. Computer programs, in general, can't access the memory address 0 (it is reserved), so if you try to reference a Null pointer, your program will crash,

From

Cover of Learning C++ by Creating Games with UE4

Note

一个空指针是指向0内存地址的,理论上程序是不能访问这段内存,会崩掉。