4 ms·
When you access an index of an array via a[x], it should only access the memory of: a + sizeof({type of a}) * x. The compiler has no concept of a “string” in
by scarface74 8y ago
When you access an index of an array via a[x], it should only access the memory of:
a + sizeof({type of a}) * x.
The compiler has no concept of a “string” in this context. A string is just a null terminated character array.