Home>Article>Backend Development> c++ identifier naming rules
c Identifier naming rules: 1. Identifiers are composed of letters, numbers and underscores; 2. The c keyword cannot be used as an identifier; 3. The identifier length is limited to 32 characters; 4. Identifier pairs Case sensitive; 5. The first letter can only be letters or underscores, not numbers.
c Identifier naming rules:
(recommended learning:C language tutorial)
Identifiers consist of letters, numbers and underscores
Cannot use C keywords as identifiers
Identifier length limit is 32 characters
Identifiers are case-sensitive
The first character can only be a letter or an underscore, not an number
The above is the detailed content of c++ identifier naming rules. For more information, please follow other related articles on the PHP Chinese website!