1 #include<stdio.h>
2
3 void main()
4 {
5 setvbuf(stdout,NULL,_IONBF,0);
6 char str[80],ch;
7 int i,j;
8
9 printf("Input the string:
");
10 gets(str);
11 printf("Input the char to be deleted:");
12 scanf("%c",&ch);
13
14 j=0;
15 for(i=0;str[i]!='