← Back to archive

Stdle #130 · iteration · 2026-10-14

What does this C snippet output?

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

#include <stdio.h>
int main(void) {
int a = 5;
if (a > 0)
if (a > 10)
printf("big\n");
else
printf("small\n");
return 0;
}
Iteration
4 attempts left

Answer & explanation