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.


Do you Yahoo!?
All your favorites on one personal page � Try My Yahoo!

To unsubscribe : [EMAIL PROTECTED]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to