Why Does x = ++x + x++ Give Me the Wrong Answer?

When they first meet them, developers are often tempted to play with pre- and post- increment operators. Then they get confused, because they don’t do what is expected. Or … do they?

Click here to read the article