20. Mention the rules for naming Identifiers.
Answers
Answered by
2
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
1
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
English,
2 months ago
Hindi,
2 months ago
Geography,
2 months ago
English,
3 months ago
Computer Science,
3 months ago
Math,
11 months ago
Computer Science,
11 months ago