Computer Science, asked by shussain0057, 9 hours ago

20.  Mention the rules for naming Identifiers.​

Answers

Answered by shrutisharma07
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 MansiPoria
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