fool2fish/the-c-programming-language-exercise-answers

Please process single quote in Ex1-23

Opened this issue · 0 comments

If you doesn't process single quote,then the double quote in if(c=='"') will become start of a string constant.When execute gcc 1-23.c && ./a.out <1-23.c you can find that the first comment doesn't eliminate.