摘要: #include <iostream> using namespace std; int main(){ int a=10; //声明指针 p int *p; //讲指针p指向变量a的内存地址 p=&a; cout<<"a的值="<<a<<endl; cout<<"a的内存地址="<<p<<endl 阅读全文
posted @ 2023-10-28 09:51 郭立恒 阅读(9) 评论(0) 推荐(0)