Skip to main content

C++ statements

C++ statements:
                        The statements  of the program are written under the main() function between the curly braces{}. These statements are the body of the program. Each statements in c++ ends with a simicolon(;)
         C++ is a case sensitive language. The c++ statements are normally written in lowercase letters but in some exceptional cases,these can also be written in uppercase.

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    ...