Computer Science, asked by khushbuminz0706, 2 months ago

two rules to create identifier​

Answers

Answered by sneharamesh
1

Answer:

Each identifier must have at least one character.

The first character must be picked from: alpha, underscore, or dollar sign. The first character can not be a digit.

mark me as brainlist

Answered by arthkunder33
1

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.

Similar questions