CodePudding user response:
Students is not very deep understanding of pointer, brush, static char * p=a; Function and gave the delete p outside there is a problem,CodePudding user response:
The end of the string flag \ 0, so that a change to b [I + 1)='\ 0' try it? Next time suggest that post code, picture is not convenient