int a[20], b[20], *p = a, i; if ((uintptr_t)(a + 20) == (uintptr_t)b) { b[5] = 1; for (i = 0; i < 40; i++) *p++ = 0; printf("%d\n", b[5]); }
@ch3root If this were valid C, then using A[1][0] to access A[0][1] in T A[2][2] should also be valid, no? But latter is ex. in Annex J.
-
-
@RichFelker That's a bit different and seemingly violates C11, 6.5.6p8. Worth revisiting later. -
@RichFelker Ok, first question: are a[0][2] and a[1][2] valid given unsigned char a[3][3]? -
@ch3root I probably confused this issue too much already with mistyped (on Android kb) tweets; let's continue it elsewhere. - End of conversation
New conversation -
-
-
@ch3root Oops I wrote that wrong. Meant 0,2 to access 1,0.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.