Computer Science, asked by revanthsannakki, 3 months ago

1. Mention the rules for naming Identifiers.​

Answers

Answered by greeshma2006
3

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 vangaveetigouripriya
6

Answer:

  1. A valid identifier can have letters (both uppercase and lowercase letters), digits and underscores.
  2. The first letter of an identifier should be either a letter or an underscore.
  3. You cannot use keywords like int , while etc. as identifiers.
  4. There is no rule on how long an identifier can be.
Similar questions