← Back to archive

Stdle #51 · quirks · 2026-07-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 i = 1, j = 1;
int big = (i++ > 0) || (j++ > 0);
printf("big=%d i=%d j=%d\n", big, i, j);
return 0;
}
Quirks
4 attempts left

Answer & explanation