title: Get a character referenced by index in a C string
body: <p>I have a string. </p>
  
  <pre><code>char foo[] = "abcdefgh";
  </code></pre>
  
  <p>I would like to write a <code>for</code> loop, and one by one print out all of the characters:</p>
  
  <pre><code>a
  b
  c
  </code></pre>
  
  <p>etc.</p>
  
  <p>This is in C.</p>