"Joel C. Salomon" wrote:
> Also recall that sizeof('c') == sizeof(int).  I suspect, though, that
> literals like 'abcd' are left from the B (word-addressable, not
> byte-addressable) days.

Yes, in C ordinary character constants have always had type int.
Multi-character constants were used in the first C version of "troff",
for one example, so the language permits them even though their use
has nonportable aspects.

Reply via email to