Retro video games delivered to your door every month!
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 "int" occupies 2 bytes of storage. its value is in the http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
An item of type "int" occupies 2 bytes of storage.  Its value is in the
following range.


     -32768 <= n <= 32767

Note that "int" is signed and hence "int" and "signed int" are equivalent.
 If an item of type "int" is to be unsigned, it must be defined as "unsigned
int".  In this case its value is in the following range.


     0 <= n <= 65535

If you are generating code that executes in 16-bit mode, "short int" and
"int" are equivalent, "unsigned short int" and "unsigned int" are
equivalent, and "signed short int" and "signed int" are equivalent.  This
may not be the case in other environments where "int" and "long int" are 4
bytes.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson