Please check the code below first, the pointer didnt point to the a.
anyone could figure out why *pa=a failed ?PHP Code:
#include <iostream>
void main()
{
int a=0;
typedef int * pt_int;
pt_int pa;
*pa=a;
cout << &a << endl;
cout << pa << endl;
}