Question: what is the difference between unary and binary and ternary operator in c?
Answer: Unary operators are so-called because they operate on one operand. Binary operators need two operands to operate. In addition to these, there is a ternary operator in C which is also called Conditional operator. ... Unary operators are so-called because they operate on one operand.