I'm a novice programmer (been learning C on a CS course since September) I've been reading the following two questions in order to try and get my head around sequence points and the undefined behaviours which relate to them.
Why are these constructs (using ++) undefined behavior?
Why is a = i + i++ undefined and not unspecified behaviour
I now understand that
a[i] = i++;
results in an undefined behaviour. I was wondering if
a[i++] = 4;
falls into the same category but I can't find anyone discussing this specific example anywhere.