title: C delete element of an array
body: <p>How can I delete an element of an array in c?
  For example when I declare this:</p>
  
  <pre><code>int array[3];
  </code></pre>
  
  <p>What is in these 3 cells when I don't initialize them?</p>
  
  <p>For example when I fill these now but want to delete array[2] again.</p>
  
  <pre><code>array[0] = 0;
  array[1] = 1;
  array[2] = 2;
  </code></pre>
  
  <p>Now I want to delete element array[2] again.
  How exactly can I do this? Setting it to 0 won't help me since this still has a meaning in my programme.</p>
  
  <p>The context is, that I save the turns of a game in the array elements. But when I want to undo a turn I have to delete the element again or give that element its former "content".</p>