#include <stdio.h>
#include <limitS.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
printf("unsigned int max=%u\n",UINT_MAX);
printf("signed int max=%d\n",INT_MAX);
printf("signed int min=%d\n",INT_MIN);
return 0;
}
c语言 int 有无符号的min max值
最新推荐文章于 2024-03-09 16:41:15 发布