C++ Operators



Computers process data! They read it from the keyboard, store it in variables (or constants), display it on the screen. And they also perform various operations with it. We are used to performing arithmetic operations (additions, subtractions, etc.), but in C++ there are many other operations. An operation consists of operands and an operator. Operands are the data on which operations are performed, and the operator is the symbol that determines what operation is performed with the operands.


1. Arithmetic Operators

These operators are used to perform basic mathematical operations.

2. Assignment Operators

These operators are used to assign values to variables.

3. Increment and Decrement Operators

These operators are used to increase or decrease the value of a variable by 1.

4. Relational Operators

These operators are used to compare two values.

5. Logical Operators

These operators are used to perform logical operations.

Accessibility Options

Color Contrast

Text Size

Text Spacing

Reading Aids