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