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