Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>unsigned unsigned integral data type</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 unsigned                Unsigned Integral Data Type

    The keyword unsigned may be applied to the char, short int, int and
    long int types. The size (and representation) of an unsigned type is
    implementation-defined.

      Notes:    In MS-C, the size of an unsigned char object is one byte
                and its value ranges from 0 to 255. Unsigned short int
                and unsigned int objects are two bytes and range in value
                from 0 to 65535. Unsigned longs are four bytes and their
                values range from 0 to 4294967295.

                If unsigned is used without the keyword int, the int is
                assumed.

                By default, "plain" chars are signed. However, the
                default may be changed to unsigned using the /J compile-
                time switch.

   -------------------------------- Example ---------------------------------

           unsigned char letter;
           unsigned short int value;
           unsigned short amount;
           unsigned int total;
           unsigned count;




See Also: short long signed

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