struct Person,age))
int struct_age = *(int *)((char *)&sp + offsetof(struct Person, age));
printf("结构体中...,必须经过转换才可使用
int number = 10;
void *int_ptr = &number; // 万能指针
*(int *)int_ptr = 100; // 赋值必须进行强转...(告诉他需要读取多大的字节)
printf("number => %d Address: %x \n", number,int_ptr);
// -------------------------...并使用(2)
int(*pfunc)(int, int) = NULL;
pfunc = MyFunc;
pfunc(100000, 200000);
// 如果拿到了一个地址,我们该如何将其转换为函数指针...函数名入口: %x \n", &MyPrintA);
// (int (*)(int, int)) 0x4110e6;
int(*Print)(int, int) = 0x4110e6; // 转换为函数指针