Understanding 'nullptr' in c++?

Example:


  int* p = 0;
  

Solution:


  int* p = nullptr;
  

Beginner's Guide to C++