Language lawyer question #2 for the day: find chapter and verse of the C standard that either guarantees that sizeof(array of n Type) == n*sizeof(Type) or allows otherwise.
Yes, the whole confusion seems to be thinking unrelated text about padding bits in basic types or internal or trailing padding in structs could magically apply to arrays.
-
-
There's no language about padding for arrays, and the (overly terse) spec for the repr of arrays is just "contiguous set of objects" (determined by their repr).
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.