Stdle #158 · overload · 2026-11-11
What does this C++ snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
#include <iostream> void f(int) { std::cout << "int\n"; }void f(double) { std::cout << "double\n"; }int main() { f('a');}Overload