The strchr() function returns a pointer to the first occurrence of the character c in the string s.
这个是查找字符的,
The strstr() function finds the first occurrence of the substring needle in the string haystack. The terminating '\0' characters are not compared.
这个是查找子串的。
这个是查找字符的,
The strstr() function finds the first occurrence of the substring needle in the string haystack. The terminating '\0' characters are not compared.
这个是查找子串的。