J
jilerner
Question about C99/gcc struct initialization:
void ffoo(void) {
struct FOO { int a,b,c; };
struct foo = { .b = 22 };
What happens now to foo.a and foo.c ? Are they initialized to 0,
or left unitialized ?
Y.L.
void ffoo(void) {
struct FOO { int a,b,c; };
struct foo = { .b = 22 };
What happens now to foo.a and foo.c ? Are they initialized to 0,
or left unitialized ?
Y.L.