码迷,mamicode.com
首页 > 其他好文 > 详细

如何表示int的最大值

时间:2019-03-19 16:47:36      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:最大值   div   span   printf   col   \n   pre   class   nbsp   

printf("%d\n", ~(unsigned int)0 / 2);

 

如何表示int的最大值

标签:最大值   div   span   printf   col   \n   pre   class   nbsp   

原文地址:https://www.cnblogs.com/lishengkangshidatiancai/p/10559409.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!