Keith said:
If you write "char", then it will generally have -128 <---> +127,
That depends on the implementation. Unmarked char can be represented
as [note: /not/ the same /type/ as] either signed char or unsigned
char, at the convenience of the implementation -- which probably
depends on what its underlying machine does on load-byte instructions.
A signed char will have all negative values, up to -255.
Not on almost all existing machines, it won't, since that would leave
no room for the C character set, whose elements are positive whatever
the signedness of char.
The similar is true for int as well.
That depends on what degree of similarity you choose.
--
Is it a bird? It is a plane? No, it's:
http://hpl.hp.com/conferences/juc2007/
WARNING. Various parts of this product may be more than one billion years old.
Hewlett-Packard Limited registered office: Cain Road, Bracknell,
registered no: 690597 England Berks RG12 1HN