F
Francois Grieu
Hello,
is the size of a type, defined using typedef as a collection of
arrays of unsigned char, the sum of the size of the arrays ?
After simplifying my question, it probably is equivalent to:
does the following program terminates ?
int main(void) {
typedef struct t { unsigned char f[1]; } t;
for(;1!=sizeof t;
return 0; }
TIA,
Francois Grieu
is the size of a type, defined using typedef as a collection of
arrays of unsigned char, the sum of the size of the arrays ?
After simplifying my question, it probably is equivalent to:
does the following program terminates ?
int main(void) {
typedef struct t { unsigned char f[1]; } t;
for(;1!=sizeof t;
return 0; }
TIA,
Francois Grieu