title: delete[] vs delete in a for loop
body: <p>What is the difference between doing:</p>
  
  <pre><code>int* I = new int[100];
  for (int J = 0; J &lt; 100; ++J)
  {
      delete I++;
  }
  
  //and
  
  int* I = new int[100];
  delete[] I;
  </code></pre>
  
  <p>I know that the first is wrong. I know how to use delete[] vs. delete correctly. 
  I just want to know why these are any different. Like figure out the real difference between delete[] and delete in a loop. So what is the difference?</p>