If I declare a variable as
int a ;
Now I do not understand the reason for this. According to me, when the character a is read the first time after this character / is read, it is that it switches to another DFA state to recognize another pattern, there is no error, and in the second case, after reading the comment, it finds some other a sequence that cannot belong to a formal template, so it stops in some final state of a finite state machine, because of which it gives an error.
Please clear this confusion.
source share