#include static struct sss{ char f; struct {char * m;} snd; } sss; #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) int main (void) { printf ("+++Struct pointer insid
http://www.codebf.com/read/470720/1449702
#include static struct sss{ long double f; struct {char m;} snd; } sss; #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) int main (void) { printf ("+++Struct char ins
http://www.codebf.com/read/470720/1449709
#include static struct sss{ char * f; char a[10]; } sss; #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) int main (void) { printf ("++++Array of char in struct start
http://www.codebf.com/read/470720/1449718
#include class c{ public: char f; }; class c2{ public: double f2; }; static class sss: public c, public c2{ public: char m; } sss; #define _offsetof(st,f) ((char *)&((st *) 16)->f
http://www.codebf.com/read/470720/1449724
#include static struct sss{ short f; char :0; int i; } sss; #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) int main (void) { printf ("+++char zerofield inside str
http://www.codebf.com/read/470720/1449732
#include class c{ public: char f; }; static class sss: public c{ public: double m; } sss; #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) int main (void) { printf
http://www.codebf.com/read/470720/1449735
#include static struct sss{ char f; struct {long double m;} snd; } sss; #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) int main (void) { printf ("+++Struct longdoub
http://www.codebf.com/read/470720/1449741
#include #include static struct sss{ char f; ptrdiff_t snd; } sss; #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) int main (void) { printf ("+++Struct ch
http://www.codebf.com/read/470720/1449743
#include static struct sss{ char f; long :0; int i; } sss; #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) int main (void) { printf ("+++long zerofield inside stru
http://www.codebf.com/read/470720/1449750
#include static char a [10]; static char e [0]; /* GCC only */ int main (void) { printf ("+++Array char:\n"); printf ("size=%d,align=%d,5th-elem-offset=%d,5th-elem-align=%d\n",
http://www.codebf.com/read/470720/1449753
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机