漫游猫认证
void fun(char* str,char c){ char* q=str ,*p=str; while(*p!='
0'){ if(*p!=c){ *q=*p; q++; } p++; } while(*q!='
0'){ *q='
0'; q++; } }