char* pb = (char*)&st + offsetof(struct mystruct, b); ... should set "pb" to be a pointer to ... printf("Third value: %c\n", ptr_one->A); ...
確定! 回上一頁