指针运算,终于明白了
摘要: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