The
GCC
compiler with the -
Wall
switch, gives the following warnings:
j.c:5: warning: operation on ‘i’ may be undefined
j.c:5: warning: operation on ‘i’ may be undefined
Why the operation might be undefined is well explained at Stack Overflow:
printf and ++ operator [closed][
^].