#include using namespace std; int main() { int j = 10; int *intPtr; intPtr = &j; cout << "The value of intPtr is " << intPtr << endl; cout << "The contents of intPtr (i.e., that which intPtr points to) is " << *intPtr << endl; intPtr = (int *) j; cout << "The value of intPtr is " << intPtr << endl; cout << "The contents of intPtr (i.e., that which intPtr points to) is " << *intPtr << endl; return 0; }