Stdle #181 · 2026-12-04
What does this log?
Read the snippet and type its exact console output. You get 4 attempts — each wrong guess unlocks a hint.
#include <iostream> struct B { void f() { std::cout << "B\n"; } };struct D : B { void f(int) { std::cout << "D\n"; }};int main() { D d; d.f(3);}Overload