08 2010 档案

指针运算,终于明白了
摘要:struct Test{int Num;char *pcName;short sDate;char cha[2];short sBa[4];}*p;假设p 的值为0x100000。如下表表达式的值分别为多少?p + 0x1 = 0x___ ?(unsigned long)p + 0x1 = 0x___?(unsigned int*)p + 0x1 = 0x___?p + 0x1 的值为0x1000... 阅读全文

posted @ 2010-08-23 10:36 corecible 阅读(328) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示