How do we check if a pointer is NULL pointer?

I always think simply if(p !=
NULL){..} will do the job.

It will.

Leave a Comment