I was learning sequence point and I get really confused by example given in wikipedia that "i=i++" is undefined,
Can anybody explain me why it is so ? I can understand that "a[i] = i++" is undefined but I can not figure out why i = i++ is,
Second question is--
Is "a[i] = ++i;" is also undefined