Re: Quick check on signed promotion of bytes
- From: Eric Sosman <Eric.Sosman@xxxxxxx>
- Date: Thu, 31 Jan 2008 13:36:26 -0500
vippstar@xxxxxxxxx wrote:
Ah, I apologise, just something i am not sure about, char unsigned x,
y; means unsigned char x, 'plain' char y?
`char unsigned' means the same thing as `unsigned char';
the order of the keywords in a multi-keyword type specifier
doesn't matter. So `char unsigned x, y;' means the same thing
as `unsigned char x, y;' and gives both x and y the same type.
Win pocket money by writing `long int signed long x;'
or `double long y;' and betting the boys at the bar that
it's legal C.
--
Eric.Sosman@xxxxxxx
.
- References:
- Quick check on signed promotion of bytes
- From: toe
- Re: Quick check on signed promotion of bytes
- From: Eric Sosman
- Re: Quick check on signed promotion of bytes
- From: vippstar
- Quick check on signed promotion of bytes
- Prev by Date: Re: declaration of variable in for loop
- Next by Date: Re: declaration of variable in for loop
- Previous by thread: Re: Quick check on signed promotion of bytes
- Next by thread: Question on accessing structure
- Index(es):
Relevant Pages
|