Will this code lead into undefined behavior in case the array is just filled with 0
's?
Or could a compiler do some checks for less critical conditions i.e. "checking automatic non pointer values as first"
uiaDigit[10];
for (sizeIndexI = 0; sizeIndexI < 10 && uiaDigit[sizeIndexI] == 0; sizeIndexI++)
;
I would guess something like a reading direction as if it is
"An AND comparison will always be read from left to the right and break out at first false"
Is at most implementation defined behavior, isn't it?
So will a compiler get it that he has to break out anyway if sizeIndexI
gets 10, or will he compare 'uiaDigit[10] == 0' anyway?