Math, asked by fatimaanam373, 6 months ago

What will be the output of the following code segments:
int a=5, b=10, C=9, d=8;
System.out.println(" " + (a + + + + + C---b+d--);
System.out.println(" " + ((a>b)? ++d:--b);​

Answers

Answered by rohitkhajuria90
0

First syso will give space 14

And second will give space 8

OUTPUT

14

8

Similar questions