会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tham
Continue Coding !
首页
新随笔
联系
订阅
管理
2014年5月23日
C中const 定义常量的使用
摘要: 先看如下代码 #include #include #define ARRSIZE(a) (sizeof(a)/sizeof(a[0]))int main(){ const int i = 10; int *p = (int *)&i; int a[i]; *p = 1...
阅读全文
posted @ 2014-05-23 15:40 _tham
阅读(502)
评论(0)
推荐(0)
公告