What are the rules to write identifier ?
dassankit937:
any where?
Answers
Answered by
5
Rules for writing identifiers :-
- Identifiers can be a combination of letters in lowercase (a to z) or uppercase (A to Z) or digits (0 to 9) or an underscore _ .
- An identifier cannot start with a digit.
- Keywords cannot be used as identifiers.
- We cannot use special symbols like !, @, #, $, % etc.
Similar questions