← Back to archive

Stdle #6 · 2026-06-12

What does this log?

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

#include <iostream>
int main() {
auto f = [x = 5](int y) { return x + y; };
std::cout << f(10) << "\n";
}
Modern
4 attempts left

Answer & explanation