会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
明月镇魂
博客园
首页
新随笔
联系
订阅
管理
08 2015 档案
printf中用%d输出float或者double
摘要:首先说一个“默认参数提升”的概念: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
明月镇魂
阅读(717)
评论(0)
推荐(0)
C语言函数参数传递之痛
摘要:文章原地址:点击打开链接首先先讲一下表达式中“类型提升”,来自《C专家编程》 整型提升就是char,short(无论unsigned,signed),位段类型,枚举类型都将提升为int类型。前提是int类型能完整容纳原先的数据,否则提升为unsigned in...
阅读全文
posted @
2015-08-02 03:09
明月镇魂
阅读(207)
评论(0)
推荐(0)
公告