woverflow专题

[Warning] large integer implicitly truncated to unsigned type [-Woverflow]

[Warning] large integer implicitly truncated to unsigned type [-Woverflow] 警告的原因是:整数溢出 整数溢出:当整数达到它所能表述的最大值时,会重新从起点开始 #include<stdio.h>int main(void){unsigned a=12345678910;printf("a=%d\n",a);retu