[TUHS] v7 K&R C
Richard Tobin
richard at inf.ed.ac.uk
Sat May 16 07:31:38 AEST 2020
> Isn't it nonstandard (although I am aware of some compilers that do it) to
> default the type of char to unsigned?
No.
"The implementation shall define char to have the same range,
representation, and behavior as either signed char or unsigned char."
- C99
(Technically it's a separate type from both of them.)
-- Richard
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
More information about the TUHS
mailing list