char *vowels = "aeiouyæøå";
int len = strlen(vowels);
int counter;
for (counter = 0; counter < len; counter++) {
char vowel = *vowels++;
printf("%c\n", vowel);
}
または
char *vowels = "aeiouyæøå";
int len = strlen(vowels);
int counter;
for (counter = 0; counter < len; counter++) {
char vowel = vowels[counter];
printf("%c\n", vowel);
}
それとももっと良い方法はありますか?