Stdle #6 · modern · 2026-06-12
What does this C++ snippet output?
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