Computer Science, asked by nitinsmarty, 1 month ago

Evaluate the values of a and b
int a = 2, b = 0;
b -= a + a++ + ++a - --a - a--​

Answers

Answered by animeshranjan024
0

Answer:

a=2 , b=-2

Explanation:

b = 0 -(2+ 2 +4 - 3 -3)

b =0 - (4 + 4 -3 -3)

b = 0- (8-3-3)

b=0-(5-3)

b= 0-2

b = -2

a = 2

Similar questions