explain unary binary and ternary operator with example.
Answers
Answered by
3
Answer:
An operator is called a unary, binary, or ternary operator based on the number of operands. If an operator takes one operand, it called a unary operator; if it takes two operands, it called a binary operator; if it takes three operands, it called a ternary operator
Similar questions