an Identifier is a name of an entitiy to identify uniquely during the program execution. for example, variable name, array name, function name, structure name, etc.,
Rules for writing an identifier:- Allowed charecters to write an identifier
- Upper case letters
- Lower case letters
- Digits
- Only underscore from special charecters
- Identifier should not start with digit. it can starts with either alphabets or underscore( _ )
- keywords can not be used as an identifier
- there is no length limit for an identifiler. however, recommanded to give 31 characters. because, the compiler considers the first 31 characters only
- identifiers are case sensitive.In identifiers, both uppercase and lowercase letters are distinct.
Comments
Post a Comment