On Sun, Oct 16, 2011 at 5:45 AM, Fred Cisin<cisin
at xenosoft.com> wrote:
On Sat, 15 Oct 2011, Toby Thain wrote:
I have a vague recollection that one of these is
that sizeof(char) could
== sizeof(int).
That is correct.
In original K&R, before standards committees, etc.,
sizeof(char)<= sizeof(int)<= sieof (long)
I normally create a byte type to be sure of an 8 bit byte.
The point is: if you base it on char, it may not be :)
I believe some DSP-class architectures are word addressed, apart from
the historical ones mentioned.
--Toby