Lies in education [was Re: The "loop and a half"]
On 2017-10-12, Steve D'Aprano <steve+python at pearwood.info> wrote:
> I don't think anyone should expect that platform specific details like the
> size of a char should be precisely the same between C and C++.
I don't knwo about that.
> Even two
> different C compilers could return different values.
Nope. If sizeof char is not 1, then it's not C.
That doesn't mean that a char can't be 9, 11, 16, 20, 32, or 64 bits,
but sizeof char is 1.