1.

Int x = 5;int y = 2;int c;c = (x++) + (++x) + (y--) + (y--) + (y++);System.out.print (“ ” + c);what will be the value of c.​

Answer»

Answer:

after one SPACE it will print 15

Explanation:

C=(X++)+(++x) +(y--) +(y--) +(y++)

5+7+2+1+0

15



Discussion

No Comment Found