C++ Tutorial: Enhance Type Safety and Code Clarity with the nullptr Keyword
IntroductionTheliteral0hasauniquepositionin C++programming --itautomaticallyconvertstoalmosteveryfundamentaltype,dependingonthecontext:intx=0;
doubled=0;
char*pstr=0;//nullpointer
int(A::*pmf)(int)=0;