cout << "Address field of &x(own)=" << &x << endl;
cout << "Value field of x=" << x << endl;
cout << "\nAddress field of &p(own)=" << &p << endl;
cout << "Value field of p=" << p << endl;
cout << "Value field of *p=" << *p << endl;
cout << "\nAddress field of &q(own)=" << &q << endl;
cout << "Value field of q=" << q << endl; // Value field holds the address of the p.
cout << "Value field of *q=" << *q << endl;
cout << "Value field of **q=" << **q << endl;
cout << "\nAddress field of &p2(own)=" << &p2 << endl;
cout << "Value field of p2=" << p2 << endl;
cout << "Value field of *p2=" << *p2 << endl;
cout << "\nAddress field of &q(own)=" << &q << endl;
cout << "Value field of q=" << q << endl;
cout << "Value field of *q=" << *q << endl; // Print result is Hex(decimal:100 -> hex:00000064). Why is not output the decimal 100?
cout << "Value field of (int)*q=" << (int)*q << endl; // Converted to decimal.
Thank.