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

In C and C++ language, arr[i] = i++ statement invoke undefined behavior, then why i = i + 1 statement 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 in C and C++ – stackoverflow.com"