How can i copy a temp struct to an actual static struct?
typedef struct MyStruct {
int a;
int b;
int c:
}MyStruct ;
Mystruct structMain;
funcCopyTempToMain(Mystruct structTemp)
{
structMain = structTemp;
}
Something like that .. Is it legit to copy whole structs that way? i only familiar with it being legit for pointers.