主页
C 语言
C 字符串 strpbrk() 函数
demo_ref_string_strpbrk
运行 ❯
×
更改方向
保存代码
更改主题
#include
#include
int main() { char myStr[] = "I think 4096 bytes should be enough"; char *pos = strpbrk(myStr, "0123456789"); if (pos != NULL) { printf("%s", pos); } return 0; }
4096 bytes should be enough