会员
周边
新闻
博问
融资
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lotus302
博客园
首页
新随笔
联系
订阅
管理
2012年11月8日
截断数据类型
摘要: #include <stdio.h>#include <string.h>struct test_t{ int a; unsigned b:1; int c;};int main(){ char a; int b=0x0102; int c=0x0201; a = b; printf("a=%x\n", a); struct test_t t; printf("t=%d...
阅读全文
posted @ 2012-11-08 11:57 lotus302
阅读(140)
评论(0)
推荐(0)
编辑
公告