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