strchr_strcpy_strcat的实现
strchr()函数的实现:#include#include#includechar * mystrchr(const char * pdest, char ch){ char *p = NULL; if (pdest == NULL) { return NULL; } while (*pdest != '\0') { if (ch == *pdest) {