+ 4

diff between unary and binary operator

18th Sep 2016, 12:04 PM
Ajay Gadiyar
Ajay Gadiyar - avatar
2 Answers
+ 8
Unary operators have one operand, binary operators have two. Example of unary operator: ! (not) Examples of binary operators: +, -, *, /, etc.
18th Sep 2016, 12:18 PM
Zen
Zen - avatar
0
unary operators have one operand and binary operators have two operands
2nd Oct 2016, 5:26 PM
abhijit bora
abhijit bora - avatar