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,
1 month ago
English,
2 months ago
Computer Science,
2 months ago
Math,
10 months ago
Computer Science,
10 months ago