Common anode 7 segment display

i++; increments i
i+1; doesn’t do anything

On the other hand:
i = i+1; increments i (same as i += 1;)
i = i++; has 'undefined behavior' so it may do ANYTHING

1 Like