#pragma pack(2) struct abc { char a; char b; char c; }; A sizeof( struct abc) gives 3, shouldnot i expect it to be 4? any pointers??? i am using " gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)" -purnendu
#pragma pack(2) struct abc { char a; char b; char c; }; A sizeof( struct abc) gives 3, shouldnot i expect it to be 4? any pointers??? i am using " gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)" -purnendu