← Back to archive

Stdle #146 · storage · 2026-10-30

What does this C snippet output?

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

#include <stdio.h>
long product = 1;
void mul(int n) { product *= n; }
int main(void) {
mul(2);
mul(3);
mul(4);
printf("%ld\n", product);
return 0;
}
Storage
4 attempts left

Answer & explanation