Monthly Archive:: May 2016

How Destructor works in C++

Destructors in C++ In this article you will provided basic information about destructor in C++. Destructor is an instance member function of a class. The name of destructor is same as class but preceded by tiled (~) operator. Destructors can never be static. Destructors has no return type. Destructo
Read More >>

How Constructor works in C++

Constructors in C++ Constructor is a member function of class. The name of a constructor is same as class name. It has no return type, so you can’t use return keyword within constructor body. C++ constructor does not return even void as return type.It must be an instance member function, so it m
Read More >>