基本类型

取值范围

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

int main(int argc, char *argv[])
{
    printf("unsigned int max = %u\n", UINT_MAX);
    printf("int max = %d\n", INT_MAX);
    printf("int min = %d\n", INT_MIN);

    return 0;
}