if y=6 then find z+=(y*(y++ + ++ y))
Answers
Answered by
0
Answer:
you didnt ask questions clearly
Explanation:
ask it again
Answered by
0
Answer:
Well the Answer will be 11.
Explanation:
First is x=++x+ ++y
Now since it is having a pre increment of x first then it will increase x from 5 to 6 and assign 6 as the value for sum. And then comes ++y it is also a pre increment operator so it will also increase y from 4 to 5 and then will assign 5 for the sum .
Now the equation becomes
X=6+5
Therefore
X=11
Hope you got it.
Similar questions