Mcq which operator in c is called a ternary operator
Answers
Answered by
2
Conditional operator is called ternary operator.
Answered by
2
Conditional operator is called ternary operator because it is combination of three operators.
For eg 5>6?2:3
Here if given condition is true then answer will be the value just after? i. e. 2 in this case
But the given condition is false because 5 is not greater than 6 hence answer will be 3.
Hope it helps you
Pls mark as brainliest
For eg 5>6?2:3
Here if given condition is true then answer will be the value just after? i. e. 2 in this case
But the given condition is false because 5 is not greater than 6 hence answer will be 3.
Hope it helps you
Pls mark as brainliest
Similar questions