Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 C++ Character Set It is set of Characters/digits/symbol which is valid in C++. Example – A-Z, 0-9, @#$,.%^& (white space) C++ Character Set It is set of Characters/digits/symbol which is valid in C++. Example – A-Z, 0-9, @#$,.%^& (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

2 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

3 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

4 Data TypeModifers


Download ppt "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."

Similar presentations


Ads by Google