2013年7月12日

常量和常量表达式

摘要: 问题出自于CSAPP:p_105的Web Aside DATA:TMIN#define INT_MAX 2147483647#define INT_MIN (-INT_MAX - 1)文中提出了“为什么INT_MIN 没有直接宏定义为-2147483648 ?"的疑问,但是没有解答。查了下,发现教材中又有一处错了。关于整型常量的定义: “An integer constant begins with a digit, but has no period or exponent part. It may have a prefix that specifies its base and 阅读全文

posted @ 2013-07-12 15:33 阿加 阅读(3028) 评论(0) 推荐(1) 编辑

导航