If I declare the variable like
int a/*comment*/ ; //This does not give any error .
int a/*comment*/bc; This gives error
Now I am not getting the reason behind this , According to me when the character a is read for the first time after that symbol / is read so is it that it switches to some other state of DFA for recognizing some other pattern hence no error while in the second case after comment is read it finds some other sequence which couldn't belong to the formal pattern hence it gets halted in some non-final state of finite automaton due to which it gives an error .
Please clear this confusion .