✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Що буде виведено в результаті виконання коду?
Введіть відповідь точно так, як її виведе програма, без додаткових пробілів.
#include <iostream>
#include <string>
using namespace std;
class A{public:A(){cout<<"A";} ~A(){cout<<"a";} }; class B{public:B(){cout<<"B";} ~B(){cout<<"b";} }; class C{A a; B b; public:C(){cout<<"C";} ~C(){cout<<"c";} };
int main(){
C c;
return 0;
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!