← Back to archive

Stdle #52 · iteration · 2026-07-28

What does this C snippet output?

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

#include <stdio.h>
int main(void) {
int step = 0;
goto middle;
step = 100;
middle:
step += 7;
printf("%d\n", step);
return 0;
}
Iteration
4 attempts left

Answer & explanation