Computer Science, asked by aditi171945, 6 months ago

int x=5,y=6
int z=x++ + y++ + ++x​

Answers

Answered by sam44257
3

Answer:

please mark as brainliest answer

Explanation:

z=4

x=5

y=6

Answered by rohitkhajuria90
1

Output is

18

When x++, x will remain same i.e. x = 5

When y++, y will remain same i.e., y = 6

And when ++x, x has already increment after x++ and ++x will also increment by 1 hence now, x is 7

5+6+7 = 18

Similar questions