Stdle #101 · modern · 2026-09-15
What does this C++ snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
#include <iostream>int main() { int a = 1, b = 2; auto f = [=]() { return a + b; }; std::cout << f() << "\n";}Modern