Hi,

I define a structure as follows:

typedef struct
{
    Char  name[2];
    Char  age;
}
InfoType;

I expect that sizeof(InfoType) to be 3. However the
compiler returned sizeof(InfoType) = 4 !!!!. Any
suggestion? I guess that I have to change some of the
compiler configuration but do not know how. Please
advice. Thanks.


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to