数据结构例子-指针说明举例

指针说明举例
#include <iostream.h>
void main()
{
 int a=10;
 int *p;
 p=&a;
 cout<<"address:"<<p<<ends<<*p<<endl;
 cout<<&p<<endl;
}

你可能感兴趣的:(职场,休闲,指针说明举例)