struct b
{
int x;
};
struct b structB = { 222 };
struct a
{
unsigned int MemStartAddr;
unsigned int MemEndAddr;
int CountNum;
struct b* p1;
};
struct a structA = { 2, 3, 4, &structB };
struct a* p = &structA;
int a0 = *((int*)p);
int a1 = *((int*)p + 1);
int a2 = *((int*)p + 2);
struct b** a3 = (struct b**)((int*)p + 3);
int bx = (*a3)->x;
{
int x;
};
struct b structB = { 222 };
struct a
{
unsigned int MemStartAddr;
unsigned int MemEndAddr;
int CountNum;
struct b* p1;
};
struct a structA = { 2, 3, 4, &structB };
struct a* p = &structA;
int a0 = *((int*)p);
int a1 = *((int*)p + 1);
int a2 = *((int*)p + 2);
struct b** a3 = (struct b**)((int*)p + 3);
int bx = (*a3)->x;