Suppouse I have a struct/class for example:
struct cMyStruct
{
int x;
char y;
double z;
char abc[5];
char ser[6];
};
and I'm sending it/or a pointer of it as a function parameter,
for example void MyFunc(cMyStruct* myStruct)
Is there a way for the function, to the know the structure of the struct?
Is there a way to know the offset of each field in the struct?
Thanks
avi
