Science, asked by natasha3945, 1 year ago

Difference between unary binary and ternary operators in c++

Answers

Answered by ashutoshsharma2
2
Unary '-' : It is used with a single operand
and that is why it is an unary operator . ...
Binary '-' : This operator functions upon two
operands and returns the difference between
the two by subtracting the value of second
operand from the first. Both the operands
may have float or integer types.
Similar questions