[INT_MIN, INT_MAX]

[INT_MIN, INT_MAX]

int type has a minimum value of the symbol, the maximum range [-2 ^ 31, 2 ^ 31--1]

Header files for the limits.h

#include <stdio.h>
#include <limits.h>

int main(void)
{
    printf("INT_MIN = %d, INT_MAX = %d\n", INT_MIN, INT_MAX);
}
/* !< output */

INT_MIN = -2147483648, INT_MAX = 2147483647

Process returned 0 (0x0)   execution time : 0.053 s
Press any key to continue.







Guess you like

Origin www.cnblogs.com/xuzhaoping/p/11522101.html