--- deo sharma <[EMAIL PROTECTED]> wrote:
>
> i tried the code:
>
>
>
> struct trial
>
> {
>
> unsigned int:7;
>
> };
>
>
>
> void main()
>
> {
>
> printf("%d",sizeof(struct trial));
>
> }
>
>
>
>
>
> on turbo c compiler and its giving theoutput as "1"
> which is quite logical to me since the size shown
> will be the the output rounded to bytes which should
> be 8 bits or 1 byte in that case.
>
>
>
But on GCC compiler, it will give the output as 4...
Regards,
Ashwin
__________________________________
Do you Yahoo!?
Dress up your holiday email, Hollywood style. Learn more.
http://celebrity.mail.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~->
To unsubscribe : [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To reply to this message, go to:
http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=4821
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmers-Town/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/