C header file # include & lt; limits. h & gt;

Source: Internet
Author: User

CHAR_BIT Number of bits in the smallest variable that is not a bit field. 8
SCHAR_MIN Minimum value for a variable of type signed char.-128
SCHAR_MAX Maximum value for a variable of type signed char. 127
UCHAR_MAX Maximum value for a variable of type unsigned char. 255 (0xff)
CHAR_MIN Minimum value for a variable of type char.-128; 0 if/J option used
CHAR_MAX Maximum value for a variable of type char. 127; 255 if/J option used
MB_LEN_MAX Maximum number of bytes in a multicharacter constant. 2
SHRT_MIN Minimum value for a variable of type short.-32768
SHRT_MAX Maximum value for a variable of type short. 32767
USHRT_MAX Maximum value for a variable of type unsigned short. 65535 (0 xffff)
INT_MIN Minimum value for a variable of type int.-2147483647-1
INT_MAX Maximum value for a variable of type int. 2147483647 www.2cto.com
UINT_MAX Maximum value for a variable of type unsigned int. 4294967295 (0 xffffffff)
LONG_MIN Minimum value for a variable of type long.-2147483647-1
LONG_MAX Maximum value for a variable of type long. 2147483647
ULONG_MAX Maximum value for a variable of type unsigned long. 4294967295 (0 xffffffff)

 


Author: sflsgfs

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.