On 10/15/2011 10:24 PM, ben wrote:
Another C
trivia question: if you implement standard C on a PDP-10, a
36-bit machine, what are the permissible sizes (in bits) for the char
type?
I don't know about C, but I assume that 7 bit ascii is standard for
everybody but IBM 360's.
A char is generally 8 bits in C, and it has nothing at all to do with
ASCII. It's simply an 8-bit integer.
And IBM 360s aren't the only systems that don't use ASCII. Also
370s, 390s, and the z/Series right up to the current cutting-edge systems.
-Dave
--
Dave McGuire
New Kensington, PA