Operators
Operators
Operators are symbols that are used to perform operations on data. C++ has a wide variety of operators, including:
- Arithmetic operators: +, -, *, /, %
- Relational operators: <, >, <=, >=, ==, !=
- Logical operators: &&, ||, !
- Assignment operators: =, +=, -=, *=, /=, %=