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

Given this code, what is the relationship between the bound names and the struct members?

struct P { int x; int y; }; P make(); auto [a, b] = make(); a = 10;