title: Delete elements of dynamic array in C
body: <p>I have a dynamic array of integers:</p>
  
  <pre><code>int *array = malloc(1000 * sizeof(int));
  for (int i = 0; i &lt; 1000; ++i) {
      array[i] = i;
  }
  </code></pre>
  
  <p>How can I effectively delete elements between 555-565 without creating new array and copying elements there?</p>