![]() |
#2
九天冥盟2016-02-03 11:30
|
# include<iostream>
using namespace std;
int main()
{
int add=3;
int *p=&add;
cout<<add<<'\t'<<p<<'\t'<<&p<<endl;
return 0;
}//为什么p和&p不一样呢,就是说输出的结果不一样,难道p是地址,&p是地址的地址吗?地址也有地址的吗