C++ Default Function

What are the four functions that compiler automatically provides? How can you prevent compiler to provide automatically?

Questions by Keyurpatel80   answers by Keyurpatel80

Showing Answers 1 - 2 of 2 Answers

montu

  • Dec 4th, 2008
 

1) Default constructor
2) Copy constructor
3) Assignment operator
4) Destructor
We can stop the compiler by providing the definition for all the four functions.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions