a = (50 >= 100) ? 400 : 200
Answers
Answered by
3
Answer:
it is a ternary operator..
in if else it will be:
if(50>=100)
a=400;
else
a=200;
Answered by
4
Answer(Output):
a=200
Explanation:
50>=100, condition is false
so 'a' will store 200
Let's know more:
On converting to if-else statement, it would look like this..
if(50>=100)
a=400
else
a=200
Similar questions