0
点赞
收藏
分享

微信扫一扫

strstr函数

语法:

char my_strstr(const char* str1, const char* str2);

一般用法:

int main()

{

char str1[] = { "abcdefgh" };

char str2[] = { "def" };

char* p = strstr(str1, str2);

printf("%s\n", p);

return 0;

}

strstr函数_strstr函数

strstr函数_strstr函数_02

strstr函数_strstr函数_03


举报

相关推荐

0 条评论