You can explain what this function does (the first parameter = ' ' , the second is just a word served, in this case a letter, especially not very clear in the while condition, we say that our space is not equal to a letter, but why is it written 2 times?
char * mystrchr(const char * s, const char c) { while ( *s && *s != c ){ ++s; } return ( *s ) ? (char*) s : NULL; }