Title | Hsslive-xii-ca-comm-ch-1-Review Of Cpp computer application |
---|---|
Author | Nismahaya Sayed |
Course | Commerce |
Institution | University of Calicut |
Pages | 12 |
File Size | 770.1 KB |
File Type | |
Total Downloads | 4 |
Total Views | 138 |
Its lucture notes computer application, chapter wise notes pdf...
Chapter 1 Review of C++ Programming Character set The fundamental characters used to write C++ program Character set includes English alphabets, digits, special characters and white spaces. Tokens Tokens are basic building blocks of C++ programs. Tokens classified into keywords, identifiers, literals, punctuators and operators. 1. Keywords : Reserved words that convey specific meaning to the language compiler. Eg : int , for , do etc... 2. Identifiers : User-defined words to identify memory locations, statements, etc. Identifiers includes variables, labels, function names, etc. 3. Literals : Tokens that do not change their value during the program run. Literals are classified into integer constants, floating point constants, character constants and string constants. 4. Punctuators : Special characters like comma (,), semi colon (;), etc. used for the perfection of syntax of C++ program . 5. Operators : Symbols that can perform operations. They consist of arithmetic (+ ,-, *, /,%) , relational (,=,== ,!=) and logical operators(|| , && , !) . There are some special operators named get from (>>), put to (...