if i define a structure as :
struct
{
int a : 1 ;
int b : 10 ;
/* and blah..blah..blah*/
} myStruct;
and they say :
myStruct.a = 1;
now why wud the member 'a' get a value of -1 from this ?? i know the work around would be to use unsigned as the type....but what's the reason ?
thanx,
kps