Behaviour of arr[i] = i++ and i = i + 1 statements in C and C++ – stackoverflow.com

In the C and C++ languages, the arr[i] = i++; statement invokes undefined behavior. Why does the statement i = i + 1; not invoke undefined behavior?

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Behaviour of arr[i] = i++ and i = i + 1 statements in C and C++ – stackoverflow.com"