#include #define MAXN 20void delchar( char *str, char 搜搏c );void ReadString( char s[] ); /* 由裁判实现,略去不表 */int main(){char str[MAXN], c;scanf("%c\n", &c);ReadString(str);delchar(str, c);printf("%s\n", str);return 0;}/* 你的代码将被嵌在这里 */void delchar( char *str, char c ){ char *p=str; while(*p) { 戚拍 if(*p!=c) *str++=*p; 高漏羡 p++; } *str=0;}