谢谢楼上的哥们,我领教了不少啊!谢谢!
♂ 死后定当长眠,生前何须久睡。♀
#include <iostream>
using namespace std;
int main()
{
int a;
const int b=0;
int c;
cout;
cout<<&a<<\" \"<<&c;
return 0;
}
输出:0x22ff8c 0x22ff84
#include <iostream>
using namespace std;
int main()
{
int a;
const int b=0;
int c;
cout;
cout<<&a<<\" \"<<&b<<\" \"<<&c;
return 0;
}
输出:0x22ff8c 0x22ff88 0x22ff84