Home > Back-end >  C language for help!!!!!! Delete the specified character
C language for help!!!!!! Delete the specified character

Time:09-23

As shown in figure program as I ask, I this program where wrong

CodePudding user response:

Logic code details didn't see this input you can write at least
The scanf don't read char this C implementation is easy to get into circle if they understand why it is better to remember later don't be so use
The fflush (stdin);
C=getchar ();

CodePudding user response:

Remove the scanf in '\ n', and then try to
  • Related