What is the result after execution of the following code if 'a' is 10, 'b' is 5 and 'c' is 10?

if ((a>b)&&(a<=c))

a=a+1;

else

c=c+1;

1
a = 11, c = 11
2
a = 10, c = 11
3
a = 10, c = 10
4
a = 11, c = 10

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation