Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC++structured bindingsSingle-choice MCQ

What is the type and value behavior of the structured binding here?

#include <array> std::array<int, 3> make() { return {10, 20, 30}; } int main() { const auto& [a, b, c] = make(); // a, b, c refer to elements of a hidden const array object }