Hello Alexandre,
that very much depends on optimizations and how/where you have the variables a, b and c. If they are local variables for example, the compiler will see that they are only written once with zero and never change. For 'bad' code like this the debug exprience will be bad too. You can prevent the compiler optimization with disabling the optimizations or mark the variables with 'volatile' keyword.
Erich