title: Shouldn't this code crash
body: <pre><code>int *p;
  while(true)
  {
   p = new int;
  }
  </code></pre>
  
  <p>Due to running out of memory space, shouldn't this code crash. I have tried printing out the value of p, that is the address of memory located for p, and it seems to increase yet there is no crashing. </p>
  
  <p>Why is this so?</p>