Computer Science, asked by dollynag29p8k06p, 11 months ago

Difference between unary and binary operator

Answers

Answered by dhiraj6432
84
Binary operator requires two operands and Unary operator requires one operand. ... The minus sign between 5 and 6 is binary operator which requires two operands(-5 and 6 here). The minus sign in -11 is also unary operator. The C compiler differentiatesunary and binary signs using operatorprecedence and associativity.
Answered by Anonymous
45
The minus sign between 5 and 6 is binary operator which requires two operands(-5 and 6 here). The minus sign in -11 is also unary operator. The C compiler differentiates unary and binary signs using operator precedence and associativity.
this is your answer
I hope this will help you
if not then comment me
Similar questions