what is the output of the following :
int a = 0, b = 20;
a = --b;
System.out.println("a:"+a+"b:"+b);
Answers
Answered by
0
Answer:
a=0
b=20
a= --b
a=19
But the final value of b is 19 hence
a=19
b=19
Similar questions