Computer Science, asked by abhradip123, 8 months ago

9.If x=4;find the value of x + = x ++ * ++x % 2;
Java​

Answers

Answered by mbbsclass27
2

Explanation:

x = x + ( (x++) + (++x) + x) = 4 + ((x++) + (++x) + x) = 4 + ((4++) + (++x) + x) = 4 + (4 + ++5 + x) = 4 + (4 + 6 + 6) = 4 + 16 = 20

plz mark me briliantist

Similar questions