Stdle #52 · 2026-07-28

What does this log?

Read the snippet and type its exact console output. You get 4 attempts — each wrong guess unlocks a hint.

#include <iostream>
int main() {
int x = 4;
int& r1 = x;
int& r2 = r1; // another alias to x
r2 = 99;
std::cout << x << " " << r1 << "\n";
return 0;
}
Classes
4 attempts left

Daily Polyglot

0/11

Solve today's puzzle in every language.