Publisher review:Usage of offsetof( ) Macro shows the functioning of offsetof( ) macro defined in stddef.h. Program shows the functioning of offsetof( ) macro defined in stddef.h. It gives the offset of the element name within the union or struct.
Tested on gcc 3.4.5 where size of char=1, int=4, float=4.
Usage of offsetof( ) Macro is a C/C++ script for Snippets scripts design by Xing.
It runs on following operating system: Windows / Linux / BSD / Solaris.
Usage of offsetof( ) Macro shows the functioning of offsetof( ) macro defined in stddef.h.
Operating system:Windows / Linux / BSD / Solaris