1. Mention the rules for naming Identifiers.
Answers
Answered by
3
Answer:
Rules for naming identifiers
A valid identifier can have letters (both uppercase and lowercase letters), digits and underscores.
The first letter of an identifier should be either a letter or an underscore.
You cannot use keywords like int , while etc. as identifiers.
There is no rule on how long an identifier can be.
Answered by
6
Answer:
- A valid identifier can have letters (both uppercase and lowercase letters), digits and underscores.
- The first letter of an identifier should be either a letter or an underscore.
- You cannot use keywords like int , while etc. as identifiers.
- There is no rule on how long an identifier can be.
Similar questions