Computer Science, asked by pradjotsinghka, 6 months ago

...............Operators work with single operands?............​

Answers

Answered by patelnandalapn
2

Answer:

Unary operators need only one operand to perform the task or operation.

Explanation:

e.g +, -, ++, -- etc

Here + & - operators will indicate the sign of operand. (e.g +5, -3, -45 )

The ++ & -- operators are called increament & decreament operators respectively.

The ++ operator will increase the value of operand by one & -- operator will decrease the value

All the operators we have discussed above can be categorised into following categories: Postfix operators, which follow a single operand. Unary prefix operators, which precede a single operand. Binary operators, which take two operands and perform a variety of arithmetic and logical operations. of operand by one. (e.g x++ or ++x = x+1 & x-- or --x = x-1)

Hope it helps plz mark me as Brainliest......

Similar questions