Computer Science, asked by 114730, 1 year ago

What is the difference between unary and ternary operator?

Answers

Answered by maria9
1
unary operator - deals with one operand
eg -
unary + :-
a = +4

ternary operator- deals with three operands
e.g. ?: - conditional assignment operator
Similar questions