C++ Character Set It is set of Characters/digits/symbol which is valid in C++. Example – A-Z, (white space) C++ Character Set It is set of Characters/digits/symbol which is valid in C++. Example – A-Z, (white space) C++ Token A token in C++ may be the following Keyword Identifier Literals Operators Punctuators C++ Token A token in C++ may be the following Keyword Identifier Literals Operators Punctuators int num=10; In the said example int is Keyword num is identifier 10 is literal = is operator ; punctuators int num=10; In the said example int is Keyword num is identifier 10 is literal = is operator ; punctuators
Escape sequence in C++ These are used to add special effects (generally for output) every escape sequence begin with \ (slash) \n for new line \tfor horizontal tab effect \a for audio bell \tfor Escape sequence in C++ These are used to add special effects (generally for output) every escape sequence begin with \ (slash) \n for new line \tfor horizontal tab effect \a for audio bell \tfor
Data may be many types like character string number decimal values etc. C++ is rich in data type & it supports mainly 2 types of Data Type (1)Fundamental Data type – int char float double void (2)Derived Data Type – Array, function pointer reference constant (3)User Define Data type – class structure union enumeration
Data TypeModifers