SyntaxFix
Write A Post
Hire A Developer
Questions
I always think simply if(p != NULL){..} will do the job.
It will.