I have a question regarding to one of the questions on my homework. The question is:
C, C++, and Java contain compound assignment operators such as +=. In most cases, writing <var> += <expr> is equivalent to writing <var> = <var> + <expr>. Give an example in which the two assignments are not equivalent.
I cannot think of an example. Can you please give me a hint?