4. Mention the rules for naming Identifiers
Answers
Answered by
4
Answer:
Rules are naming Identifiers
Explanation:
1)There are no rule on how long an identifier can be.2)You can't use keyboard like int, while etc . as identifiers.3) The first letter of an identifier should be a either a letter or an underscore.4) The valid identifier can be have letter (both uppercase and lowercase letter),digits and underscore.
Answered by
5
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.However, you may run into problems in some compilers if the identifier is longer than 31 characters.
Similar questions
Computer Science,
1 month ago
Math,
1 month ago
History,
1 month ago
Computer Science,
3 months ago
Hindi,
9 months ago
Math,
9 months ago