#include<iostream>
int main()
{
using namespace std;
int higgens = 5;
int * pt = & higgens;
cout << "Value of higgens = " << higgens
<< "; Address of higgens = " << &higgens << endl;
cout << "Value of *pt= " << *pt;
<< "; Value of pt = " << pt << endl;
return 0;
}
Sample 4.16:init_ptr.cpp
最新推荐文章于 2022-09-09 08:30:00 发布