the default constructor and destructorif you fail


The default Constructor and Destructor

If you fail to write a constructor and destructor function,  the compiler automatically supplies them for you. These functions have public access and essentially do nothing useful. If you were to write these functions yourselves, this would look like:

                class employee

                 {

                public :

                                employee()

                                                 {

                                                 }

 

                                ~employee();

                                 {

                                 }

    };

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: the default constructor and destructorif you fail
Reference No:- TGS0309386

Expected delivery within 24 Hours