What will be the output of the following method? { int a=5; a++; Sopln(a); a-=(a--) -(a--); Sopln(a); }
Answers
Answered by
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