Re: A question regarding Q20.1 from c-faq.com



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?

.