// use of ++ pre and post increment unary operator

// add one to x and store it back in x, and then divide the incremented value of x by 2.
y = ++x / 2;

// add one to x and store it back in x, and then divide the original unincremented value of x by 2.
y = x++ / 2;

// Avoid writing code that depends on exactly when x is incremented.
// You will baffle people trying to maintain your code, even if it works.
y = x++ + x;