#include using namespace std; int main(){ // * "is a pointer to an int" int *pointer_to_a; { int a = 547; pointer_to_a = &a; } // cout << a << endl; int *heap_integer = new int; *heap_integer = 623; // * "go find the value stored where this pointer points" // dereference cout << *heap_integer << endl; cout << *pointer_to_a << endl; delete heap_integer; // now we write a lot more here return 0; }