Computer Science, asked by ayush943020, 6 months ago

What is the value of y after evaluating the expression given below?

y+ = ++y + y++ + - -y + y-- ; when y=8;

Answers

Answered by piyushsharm31
0

hii mate

The expression y+= ++y + y – – + – –y can be written as y= y+ (++y + y-- + -- y).

If initial value of y is 8 then final value of y= 8+ (9 + 9 + 7) = 33.

Similar questions