Stdle #166 · iteration · 2026-11-19
What does this C snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
#include <stdio.h>int main(void) { int hits = 0; for (int i = 1; i <= 3; i++) { for (int j = 1; j <= 3; j++) { if (i * j >= 4) break; hits++; } } printf("%d\n", hits); return 0;}Iteration