CHARACHTER SETS
There are 2 types of character sets:-
• Source Character :- The source text is created with the help of source character such as :
Alphabet: - A-Z, a-z and _.
• Digits: - 0-9.
• Special Characters: - +, -, *, /, ^, ~, %, =, !, &, |, ( ), [ ], ?, “ “, ; , : , \, #, .
ESCAPE SEQUENCE
The characters are interpreted at run time .These escape sequence character are represented by a back slash ‘/’ followed by a character.
For e.g.:- \n, \t, \a etc.
KEY WORDS OR RESERVED WORDS
These words are reserved to do specific task and must not be used as a normal identifier name.
For e.g.:- if, for, else, do, while etc.
IDENTIFIER
Identifier are the fundamental building blocks of a program and are used to gives names to variable, function, arrays, objects, classes etc.
No comments:
Post a Comment