Computer Science, asked by ibrahimabbas8791, 2 months ago

What will be the value of z printed after this code?int x = 5, y = 5, z;x = ++x; y = --y;z = (x--) * (++y);cout << z;a)30b)25c)24d)20

Answers

Answered by sukhmanam
1

Answer:

30

Explanation:

as first x becomes 6 and y becomes 4

the fir z expression becomes

z=6*5= 30

Similar questions