Naming of An Identifier
Identifier
Identifiers are the userdefined words that can be used to refer the diffrent elements of a program.
For eg:- roll no,name,age e.t.c.
For eg:- roll no,name,age e.t.c.
Naming of An Identifiers
There are following points to observe in case of naming an identifier
- An identifier can be max of 40 character.
- The name of an identifier must start either by an alphabet or underscore sign.
- In between or at the end of an identifier the digits are allowed.
- in between an identifier the space is not allowed.
- an identifier must not be an a keyword .
No comments: