Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC++classes and membersSingle-choice MCQ

In what order are the members initialized, and what value does `b_` end up with?

struct Widget { int a_; int b_; Widget(int x) : b_(x), a_(b_ + 1) {} }; Widget w(10);