
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - an item of type "char" occupies 1 byte of storage. its value is in the
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
An item of type "char" occupies 1 byte of storage. Its value is in the
following range.
0 <= n <= 255
Note that "char" is, by default, unsigned. The Watcom C/C++ compiler option
"j" can be used to change the default from unsigned to signed. If "char" is
signed, an item of type "char" is in the following range.
-128 <= n <= 127
You can force an item of type "char" to be unsigned or signed regardless of
the default by defining them to be of type "unsigned char" or "signed char"
respectively.
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson