Please guys, check your answer before, I saw many of them wrong on this website. The above "binary operators" description should say this: (++ and -- are Unary by the way....)

The binary operators are categorized as follows:

Multiplicative operators: multiplication (*), remainder (%), and division (/)
Additive operators: addition (+) and subtraction (-)
Shift operators: left shift (<<) and right shift (>>)
Relational operators: less than (<), less than or equal to (<=), greater than (>), and greater than or equal to (>=)
Equality operators: equality (==) and inequality (!=)
Bitwise operators: AND (&), OR (|), and XOR (^)
Logical operators: AND (&&) and OR (||)

unary operator takes a single operand..exampleof (incerement ++ and decrement -- operators).unary also classified as
1.simple prefix unary operator ,example the (-)minusoperator
2.pre and post increment and decrement operator...

and

binary operators are work with two operands.....
example of binary operators,the arithmatic operators(+,-,*,/,%),arithmatic assignment operator(+=,-=,*=,/=,%=) and comparision operators(<,>,>=,=,!=)..

## Unary and Binary Operator

Kamande JosephProfile Answers by Kamande Joseph Questions by Kamande Joseph

Questions by Kamande Joseph

## Related Answered Questions

## Related Open Questions