Y+=(++y--+--y) if y is 8 what will be final value of your.
Answers
Answered by
5
Y += ++y--+--y
Now, if y is 8, then it will be
Y += ++8--+--8 .................put the value of y = 8
Y += 9 -- + 7 ......................++8 = 9 and --8 = 7
Y += 8+7 .........................9-- = 8
Y += 15 .....................8 + 7 = 15
Y = 16 ............................increment the value of y by 1...therefore, Y=16
....hence the final value of Y will be 16
.....hope this helps....do rate and mark as brainiest if this helps you.....comment if you have any doubts......
Now, if y is 8, then it will be
Y += ++8--+--8 .................put the value of y = 8
Y += 9 -- + 7 ......................++8 = 9 and --8 = 7
Y += 8+7 .........................9-- = 8
Y += 15 .....................8 + 7 = 15
Y = 16 ............................increment the value of y by 1...therefore, Y=16
....hence the final value of Y will be 16
.....hope this helps....do rate and mark as brainiest if this helps you.....comment if you have any doubts......
Answered by
2
Answer:y=y+++y+y--+--y
8+9+9+7
33
Hope it helps my friend pls mark it as brain list answer
Similar questions