C++.Default Constructor Program

 #include <iostream>

using namespace std;

class show

{

    public:

    show()

    {

        cout<<"hello";

    }

};

int main()

{

    show ob;

    return 0;

}

Comments