Differentiatebetween binary and ternary operator
Answers
Answered by
3
Binary operator are the that operands which have two operator
Ternary operator are conditional operator more than two operator..
I hope these W ill helps you pls mask as a brainleist pls I need it
Answered by
0
Ternary operator
This operator requires 3 operands. It is otherwise called as conditional operator.
(Expression) ? "True" : "false"
Eg. (15>6) ? "true" : false - according to this statement output will be false.
Binary operator
Binary operator requires only 2 operands
This operator requires 3 operands. It is otherwise called as conditional operator.
(Expression) ? "True" : "false"
Eg. (15>6) ? "true" : false - according to this statement output will be false.
Binary operator
Binary operator requires only 2 operands
kmages:
mark me as brainliest plz
Similar questions