>

what are default functions provided by compiler to a class

This is one question which is not clearly understood.

C++ compiler provides 5 default functions for a class:-

Default Constructor,

Default Copy Constructor,

Default Assignment Operator,

Deafult Destructor,

Default Address Operator

Leave a Reply