3 ms·What's the purpose of the "&& *p"? Would strchr ever return a pointer to a null terminator?by sofal 17y agoWhat's the purpose of the "&& *p"? Would strchr ever return a pointer to a null terminator?oipuyjhg 17y agoYes if you pass it a pointer to a null stringtptacek 17y agoNULL is how strchr tells you the character you're looking for isn't present. (Yes, the *p check is also superfluous). Kids these days.