摘要: 首先说一个“默认参数提升”的概念:If the expression that denotes the called function has a type that does include a prototype, the arguments are implic... 阅读全文
posted @ 2015-08-02 03:12 明月镇魂 阅读(597) 评论(0) 推荐(0) 编辑
摘要: 文章原地址:点击打开链接首先先讲一下表达式中“类型提升”,来自《C专家编程》 整型提升就是char,short(无论unsigned,signed),位段类型,枚举类型都将提升为int类型。前提是int类型能完整容纳原先的数据,否则提升为unsigned in... 阅读全文
posted @ 2015-08-02 03:09 明月镇魂 阅读(173) 评论(0) 推荐(0) 编辑