#include using namespace::std; void main (void) { int i; cout << " i = " << i << endl; i = -42; cout << " now i = " << i << endl; cout << " the address of i = " << &i << endl; int j; j = i; cout << " j = " << j << endl; int* myPointer; cout << " myPointer = " << myPointer << endl; myPointer = (int*)i; cout << " now myPointer = " << myPointer << endl; // cout << " myPointer is pointing to = " << *myPointer << endl; }