can i pass null pointer into a fuction c++ code example Example: SET TO NULL pointer c++ *ptr=NULL; /*or*/ *ptr=0;