各位大神问个指针初始化的问题:
下列代码为何运行结果和理想的不一样啊,其中0xbf8d7644 是higgens的内存地址,书上说int(*)是强制类型转换的#include
int main()
{
using namespace std;
int higgens = 5;
int* pt;
pt = int( *)0xbf8d7644;
cout << "Value of higgens = " << higgens
<<", Address of higgens = " << &higgens << endl;
cout << "Value of *pt = " << *pt
<<", Address of pt = " << pt <