Re: A question regarding Q20.1 from c-faq.com
- From: Philip Potter <pgp@xxxxxxxxxxxx>
- Date: Tue, 18 Dec 2007 12:15:59 +0000
Peter Nilsson wrote:
On Dec 18, 2:49 pm, Geoff <ge...@xxxxxxxxxxxxxxx> wrote:And why has anyone not noticed that sizeof 'A' returned
4, not 1?
Because there are very few hosted systems where sizeof(int)
is 1. Indeed, it's held that such systems are not conforming.
Why are such systems not conforming? Surely a hosted implementation can have CHAR_BIT == 16, sizeof(int) == 1 if it wants to?
.
- References:
- A question regarding Q20.1 from c-faq.com
- From: Logan Lee
- Re: A question regarding Q20.1 from c-faq.com
- From: Mark McIntyre
- Re: A question regarding Q20.1 from c-faq.com
- From: Peter Nilsson
- Re: A question regarding Q20.1 from c-faq.com
- From: Geoff
- Re: A question regarding Q20.1 from c-faq.com
- From: Walter Roberson
- Re: A question regarding Q20.1 from c-faq.com
- From: Geoff
- Re: A question regarding Q20.1 from c-faq.com
- From: Peter Nilsson
- A question regarding Q20.1 from c-faq.com
- Prev by Date: Re: Multi precision floating point
- Next by Date: Re: A question regarding Q20.1 from c-faq.com
- Previous by thread: Re: A question regarding Q20.1 from c-faq.com
- Next by thread: Re: A question regarding Q20.1 from c-faq.com
- Index(es):