give the output of the following statement when they are executed int x = (3>7)?3+7:3*7;
Answers
Answered by
0
Answer:
21
Explanation:
it is boolean operation of >.
3 is not greater than 7. show it gives false.
if condition true , left side of semi-colon is execute.
else condition false, right side of the semi-colon is execute.
Similar questions