主页
C 语言
C stdlib atoi() 函数
demo_ref_stdlib_atoi
运行 ❯
×
更改方向
保存代码
更改主题
#include
#include
int main() { char str[] = "24 degrees"; int amount = atoi(str); printf("%d", amount); return 0; }
24