I am used to using sizeof() to know the size of a structure, or size of a variable… typedef struct { char a; short b; int c; long d; } MyStruct; printf (“sizeof(MyStruct) is %dn”, sizeof(MyStruct)); MyStruct foo; printf (“sizeof(foo) is %dn”, sizeof(foo)); …but every time I re-learn you can …
From: Retro Roundup
