Order of calling constructors# Programming - 葵花宝典
c*e
1 楼
Class A;
class B:public A
{
C x;
}
int main()
{B b;}
Ask the order of A, B, C constructors being called.
class B:public A
{
C x;
}
int main()
{B b;}
Ask the order of A, B, C constructors being called.