#include<stdio.h>
#include<stdlib.h>
int main()
{
char *str="1234";//左移一位
printf("%d\n",atoi(str+1));
return 0;
}
字符串移位操作
猜你喜欢
转载自blog.csdn.net/ShawnWang1994/article/details/99944906
今日推荐
周排行