Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC++variadic templatesSingle-choice MCQ

What is the order of side effects when this variadic print runs `print(1, 2, 3)`?

template <typename... Ts> void print(Ts... xs) { int dummy[] = { (std::cout << xs << ' ', 0)... }; (void)dummy; }