Consider the following code segment:

int x=22, y=15;

x = (x > y) ? (x + y) : (x-y);

What will be the value of x after the code is executed?

1
22
2
37
3
7
4
37 and 7

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation