Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC++perfect forwarding std::forwardSingle-choice MCQ

What is the deduced type of `T` and the type of the parameter inside `f` when called with `f(c)` where `const int c = 0;`?

template <typename T> void f(T&& x); const int c = 0; f(c);