Computer Science, asked by anshikaagarwal17, 10 months ago

difference between unary operator and binary operator in java​

Answers

Answered by NafayurRehman7016
8

Answer:

Explanation:

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 differentiates unary and binary signs using operator precedence and associativity.

Similar questions