Tuesday, January 25, 2011

C++: Default member function

In C++ programming, when we create a new [empty] class without any member function. The complier creates following member function by default. They are

1) Default constructor
2) Assignment constructor
3) Copy constructor
4) Default destructor

No comments:

Post a Comment