← Back to archive

Stdle #106 · numbers · 2026-09-20

What does this C snippet output?

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

#include <stdio.h>
int main(void) {
unsigned len = 0;
for (int i = 0; i < (int)len - 1; i++)
printf("x");
printf("done\n");
return 0;
}
Numbers
4 attempts left

Answer & explanation