Computer Science, asked by Sourish09082006, 10 months ago

What will be the output of the following method? { int a=5; a++; Sopln(a); a-=(a--) -(a--); Sopln(a); }​

Answers

Answered by biswanath42
0

Answer:

6

-3

at first, a is 6, because of a++

at second, a value is 6,so a = (6-5)-4

= -3

Similar questions