>>910
#include <stdio.h>

void DelCh(char *s, char c){
char *p, *q;
p = q = s;
while(*p != '\0'){
if(*p != c){
*q = *p;
q++;
}
p++;
}
*q = '\0';
}

int main(void){
char s[32], c, *r;
printf("Input String:");
gets(s);
printf("Input Char:");
scanf("%c", &c);
DelCh(s, c);
printf("Output String:%s", s);

return 0;
}