anonymous
  • anonymous
x=5; y=(++x)+(x++)+(++x); what will the value of y???
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
++x is using a preincrement operator what it does is it increments the value before the statement has been evaluated x++ is using a post increment operator what it does is it increments the operator after the statement has been evaluated the answer would be y= 6+5+6 y=17
rsmith6559
  • rsmith6559
/* used ch interpreter www.softintegration.com */ int x = 5; int y = ( ++x ) + ( x++ ) + ( ++x ); printf( "%d\n", y ); 20
anonymous
  • anonymous
20

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
++x=add 1 then write the value x++=write the value then add1 y=(++x)+(x++)+(++x); y=6+6+1+7 hope u got the point......:)
anonymous
  • anonymous
i think it will 21..but how????

Looking for something else?

Not the answer you are looking for? Search for more explanations.