Skip to main content

Keyword

Keyword:
            The words that are used by the language for special purpose are called keywords.These are also called reserved words

For example:
                 C++ programming the word main is used to indicate the starting of program ,include is used to add header files,int to declare an integer type variable. All these words are keywords of c++
 
   The keywords cannot b used as variable names in a program.

Comments

Popular posts from this blog

Programs

PROGRAM 1: #include<iostream> using namespace std; int main() {    cout<<"HELLO WORLD";    return 0; } OUTPUT OF THE PROGRAM: HELLO WORLD                 ............................................................................................................................. PROGRAM 2: #include<iostream> using namespace std; int main() {    cout<<"c++ is best language";    return 0; } OUTPUT OF THE PROGRAM: c++ is best language      .............................................................................................................................                    

Data types in c++

DATA TYPES IN C++:                                        The variable  type specifies the type of the data that can be stored in it. Each variable is declared by its types.            c++ have five basic data types.These data type are:  int                               Integer float                             Floating point double                         Double Precision char                             Characters bool                             Boolean    ...