title: How to set the last element of an array as a certain number?
body: <p>Say I have an array that sets values for 5 elements. How do I make the last one to print out as 100?</p>
  
  <pre><code>int n[5];
      for(i=0; i&lt;5; i++){
          printf("Please enter value %d: \n",i+1);
          scanf(" %d", &amp;n[i]);
      }
  </code></pre>