Tool/software: TI C/C++ Compiler
Hi,
Consider we have two structures defined as follows:
struct child {
int a;
int b;
};
struct parent {
int c;
struct child child;
int d;
};
Now if I create a static parent object and explicitly set field 'd' to some value, what happens with other fields?
static struct parent = {
.d = 0,
};
I know that by COFF standard, field 'c' should be set to 0, but what happens with the nested structure. Is it left uninitialized?