|
|
Tutorials

Cpp

|
Topic |
Operators used in C++?
|
|
Explanation |
|
Operators are special symbols that perform some specific operations using
the operands on either side of this operator to give a result.
List of C++ Operators:
| Type |
Operators |
| Assignment Operator |
= |
| Compound assignment Operator |
+=, -=, *=, /=, %=, >>=, <<=, &=, ^=, |== |
| Arithmetic Operator |
+,-,*,/,% |
| Increment/Decrement Operator |
++,-- |
| Relational Operator |
==,>,>=,<,<=,!= |
| Logical Operator |
&&, ||, ! |
| Bitwise Operators |
&, |, ^, ~, >>, << |
| Conditional Operator |
? |
|
| Note |
C++ is one of the most used programming languages in the world. Also known as "C with Classes".
Hope you enjoy this tutorial. Do send your feedback or suggestions on this C++ tutorial. This is a copyright content.
|
|
|
|