C language: the variable must contain English letters or underscoresStartBy letters,NumberCharacter Sequence composed of and underlines
Why cannot I start the C variable with a number? Have you ever thought about this? Hey, here I will summarize it for you. (From various websites)
1. popular saying:
If the variable name can start with a number, the syntax analyzer cannot determine whether it is a numerical constant or a variable name when parsing a string of all numbers;
This is for the convenience of making the compiler. If you have learned the compilation principle, you will know that if the first character can be a number, it will be quite painful, this increases the difficulty of this method, so the C language variable does not start with a number. There is no reason for this. This is a hard rule. You only need to follow this rule. Otherwise, an error will be reported during compilation.ArticleFrom raid network [www.tuxi.com.cn] original link: http://www.tuxi.com.cn/888-911-9117669.html
2. authoritative statement:
To avoid confusion with numeric values and facilitate lexical analysis.