What and all can a compiler provides by default?

Answer Posted / dee

default constructor, destructor, default copy constructor,
assignment operator.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why cstdlib is used in c++?

578


Can you please explain the difference between using macro and inline functions?

521


Are c and c++ similar?

580


How does code-bloating occur in c++?

742


What is virtual methods?

655






What is a c++ map?

658


What is the difference between an external iterator and an internal iterator?

608


What is the extraction operator and what does it do?

606


What are function prototypes?

642


What is function overloading c++?

566


What is the difference between #define debug 0 and #undef debug?

637


What is c++ flowchart?

671


How the programmer of a class should decide whether to declare member function or a friend function?

680


Explain dangling pointer.

674


What are keywords in c++?

594