The question may look funny, but are the following declarations equivalent?
unsigned char a;
unsigned char b[1];
unsigned char c[1][1][1];
My compiler stores one byte for a, one for b and one for c. So is it OK to declare an array like line 3 or is this a catch somewhere? For example will c[0][0][0] be processed slower than a?
Thanks.
unsigned char a;
unsigned char b[1];
unsigned char c[1][1][1];
My compiler stores one byte for a, one for b and one for c. So is it OK to declare an array like line 3 or is this a catch somewhere? For example will c[0][0][0] be processed slower than a?
Thanks.
Comment