#include<stdio.h>
int main()
{
char *str1,*str2;
char string[100];
gets(string);
for(str1=string,str2=str1;*str1!='\0';)
{
if(*str1>='0'&&*str1<='9'){
str1++;
}
else
{
*str2=*str1;
str1++;
str2++;
}
}
*str2='\0';
printf("%s\n",string);
return 0;
}
【807】去除字符串中的数字
猜你喜欢
转载自blog.csdn.net/weixin_45253216/article/details/121951265
今日推荐
周排行