oh i'm sorry guys & galz,its my mistake......actually i forgot to add one
more field in struct
this is the correct one
typedef struct
{
int bit1:29;
int bit2:4;
}bit;
int main()
{
printf("%d\n",sizeof(bit));
return 0;
}

now what will be the output.......i'm sure you will amazed to see the result
after changing bitfield of bit1 to 28.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to