title: What is the preferred method of iterating through a string in C?
body: <pre><code>    char *vowels = "aeiouyæøå";
      int len = strlen(vowels);
      int counter;
      for (counter = 0; counter &lt; len; counter++) {
          char vowel = *vowels++;
          printf("%c\n", vowel);
      }
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>    char *vowels = "aeiouyæøå";
      int len = strlen(vowels);
      int counter;
      for (counter = 0; counter &lt; len; counter++) {
          char vowel = vowels[counter];
          printf("%c\n", vowel);
      }
  </code></pre>
  
  <p>Or is there a better way?</p>