[PTA]删除字符 void delchar( char *str, char c ){ char *a=str; for(;*str;str++)if(*str!=c)*a++=*str; *a=0; }