地址相加问题;;;
大大啊 2013-07-10 10:58:18 int *test =new int(100);
cout<<test<<endl;
输出:0x004c5d60
cout<<test + 1<<endl;
输出:0x004c5d64 这应该加 4个长度字节吧
cout<<test + 2<<endl;
输出:0x004c5d68 这应该是加8个长度字节吧
cout<<test + 3<<endl;
输出:0x004c5d6C 为什么是 6C
cout<<test + 4<<endl;
输出:0x004c5d70 为什么是 70
这个地址相加 怎么计算的!!