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