← Back to archive

Stdle #143 · comparisons · 2026-10-27

What does this C snippet output?

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

#include <stdio.h>
int main(void) {
int x = 12;
x &= 10;
printf("%d\n", x);
return 0;
}
Comparisons
4 attempts left

Answer & explanation