Previously we had seen the various arithmetic operators in C++. Now let us have a look at two new operators called the increment (++) and decrement (-...

Now that we know the various data types used in C++ language, let us see how we can modify these data types to provide more versatility to our code. We...

A variable is an entity whose value can vary in a program. But sometimes, we need to fix the value of a variable for some purpose. For example, to calculate...

We had given an introduction to constants when we had talked about the different types of tokens in C++. Now let us study constants in detail and see how...

Data types in C++ are keywords that are used to specify the type of the data we use in our C++ programs. There are many data-types available in C++. They...

Input and Output operations are an important part of any program. Input operations take data from the user and output operations display the result of...