class A{
public:
A() {std::cout << "A\n";}
~A(){std::cout <<"~A\n";}
};
class B{
public:
B() {std::cout << "B\n";}
~B(){std::cout <<"~B\n";}
};
class C{
public:
C() {std::cout << "C\n";}
~C(){std::cout <<"~C\n";}
};
int main() {
A a;
B b;
C c;
}
这段代码输出是什么?