What is the identifire and explain rules for identifire
Answers
Answered by
2
The rules for naming identifiers are as follows − Identifier names are unique. Cannot use a keyword as identifiers. Identifier has to begin with a letter or underscore (_). It should not contain white space.
hope it's helpful
Answered by
2
Answer:
Identifier has to begin with a letter or underscore (_). It should not contain white space. Special characters are not allowed. Identifiers can consist of only letters, digits, or underscore. Only 31 characters are significant.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.
Similar questions