Computer Science, asked by sreelakshmiarun32, 1 month ago

give the output of the following statement when they are executed int x = (3>7)?3+7:3*7;​

Answers

Answered by KesavanCSE
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