✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Дан фрагмент кода на языке С++. Что будет на экране в результате выполнения данного фрагмента?
structА{
int value = 1
;
};
structB: A{
B(
intvalue){}
};
B obj(5);
std::cout << obj.value;