void freeNum(char b[]){
char *p = NULL;
p = b;
unsigned long count = strlen(b);//count存储字符串的长度
for (int i = 0; i < count; i ++) {
if (*(p+i) >= '0' && *(p + i) <= '9') {
*(p + i) = *(p+i+1);//当会数字时将数字后面的字符向前以此覆盖
for (int j = i+1;j< count ; j++) {
*(p + j) = *(p + j + 1);
}
i--;
}
}
printf("%s",b);
}
int main(int argc, const char * argv[])
{
char b[]="123456789h5llo22la09u7788dskfkjhflidu";
freeNum(b);
return 0;
}