3 ms·
Maybe other readers will be able to see that the example includes many different tests when things are declared and not initialized. The goto example specifical
by quelsolaar 4y ago
Maybe other readers will be able to see that the example includes many different tests when things are declared and not initialized. The goto example specifically contains int i = 0, but users are less likely to run in to that one since it is goto.
Using an uninitialized variable is Undefined behaviour. Thats the point.