#include using namespace std; class Test { public: int x; Test(int n); // Test(); }; Test::Test(int n) { cout << "In constructor Test::Test(int n)" << endl; x = n; } // Test::Test() { // cout << "In constructor Test::Test()" << endl; // x = 0; // } int main() { Test t; cout << t.x << endl; }