#include int main() { int *ptr = NULL; int *ptr2 = NULL; ptr = new int; *ptr = 5; // * means "the contents of" cout << *ptr << endl; // prints out: 5 cout << ptr << endl; // print out: address of my memory ptr2 = ptr; cout << *ptr2 << endl; cout << ptr2 << endl; delete ptr; return 0; }