单选题 难度 3
建对象时自动调用哪一个?
下面代码的输出是( )。 class P { public: int x; P() { x = 1; } P(int a) { x = a; } }; // main: P a; P b(7); cout << a.x << " " << b.x << endl;