*Binary operators – A binary operator is an operator that works with two operands and manipulates them to return a result.
Ex- c=a+b;
here ' + ' is operating on two operators a and b. and finally manipulate them to
return a result and the result will store in c.
*List of common Binary operator -
| Symbol |
Name |
| + |
Addition |
| - |
Substraction |
| * |
Multiplicaation |
| / |
Division |
| % |
Modulus |
| = |
Assignment |
| == |
Equal |
| != |
Not equal |
| < |
less than |
| > |
greater than |
| <= |
less than or equal to |
| >= |
greater than or equal to |
| && |
logical and |
| || |
logical or |