2 ms·
I don't think a and b need necessarily overlap. I think the types need to be more like this: struct A {char a;}; struct B {char a;}; union U {struc
by to3m 13y ago
I don't think a and b need necessarily overlap. I think the types need to be more like this:
struct A {char a;};
struct B {char a;};
union U {struct A a; struct B b;};