← Back to archive

Stdle #104 · strings · 2026-09-18

What does this C snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

#include <stdio.h>
int main(void) {
char vowels[] = "aeiou";
int count = 0;
for (int i = 0; vowels[i] != '\0'; i++)
count++;
printf("%d\n", count);
return 0;
}
Strings
4 attempts left

Answer & explanation