Hi
I have following problem:
I have one global structure that has many structures inside. Now I want one of the substructures taken out and stored in some other structure.
typedef struct
{
int a;
}A;
typedef struct
{
int b;
}B;
typedef struct
{
A dummy1;
B dummy2;
} C;
I want to declare fourth structure that extracts A from C. I did my memcpy, is it only way?
Help will be very appreciated
Thanks Huzaifa