Looking at a past exam and a question has me stumped...
Given that x and y are both variables of type in, the statemennts:
y = x + x;
y += y+y;
are equivilent to
a) y= 2 * x;
b) y = 4 * x;
c) y = 6 * x;
d) y = 8 * x;
i have no idea how this works out.. all i can guess is A because there is 2 x's
if somoene could help and explain how this works it would be appreciated.