struct Foo {
Foo() = default;
int v;
};
struct Bar {
Bar();
int v;
};
Bar::Bar() = default;
int main() {
Foo f = {};
Bar b = {};
}
Как вы думаете, чему равно значение f.v и b.v?Ответ с объяснением будет завтра.
What are the values of
f.v and b.v?An answer with an explanation will be tomorrow.