Pointer — address. Reference — alias.
1int x = 10;2int* p = &x;3int& r = x;4 5p = nullptr; // OK6// r = nullptr; // Error