- Identifiers are those names that give you variables, constants and functions.
- There are some rules to give to these names that you follow.
- If you do not follow these rules then there is an error in the program.
- In Identifiers @,%, - characters can not be used.
- C is case sensitive. Therefore age and age will be called two different identifiers.
- In identifiers you can not use operators.
- You can either start an Identifier with either a character or underscore. Digits can not be started from identifiers.
- You can start identifiers from A to Z, both with both small and capital letters or underscore. After this you can use digits and other characters or underscore.
_age // true
2name // false
Emp-name // false
Emp_2_age // true
No comments:
Post a Comment
Please do not any spam link in Comment Box