1、
#include <stdio.h> void del_dit(char x[]) { int i = 0, j = 0; char tmp[129]; while(x[i]) { if((x[i] - '0') < 0 || (x[i] - '0') > 9) { tmp[j] = x[i]; j++; } i++; } while(i-- > 0) x[i] = '
1、
#include <stdio.h> void del_dit(char x[]) { int i = 0, j = 0; char tmp[129]; while(x[i]) { if((x[i] - '0') < 0 || (x[i] - '0') > 9) { tmp[j] = x[i]; j++; } i++; } while(i-- > 0) x[i] = '