2014年3月6日

摘要: const int x = 50; int* y = (int *)(&x);// same address, but the content is different *y = 200; cout << "x: "<<x<<" address: "<<&x<<endl; cout << "*y: "<<*y<<" address: "<<y<<endl; cout<< 阅读全文
posted @ 2014-03-06 13:56 aiyq195 阅读(108) 评论(0) 推荐(0) 编辑

导航