Computer Science, asked by revanth6884, 3 months ago

4. Mention the rules for naming Identifiers​

Answers

Answered by varmayash0101
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 Anonymous
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.

hope  \: it  \: helps

Similar questions