What is a constructor initializer list and when we use
constructor initializer list?

Answer Posted / mahesh

The main use of constructor is to initialize object.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me difference between constant pointer and pointer to a constant.

632


Which operator cannot overload?

543


What are references in c++? What is a local reference?

576


What is namespace std; and what is consists of?

666


How many ways can a variable be initialized into in C++?

600






What are the various operations performed on stack?

629


How long will it take to learn programming?

591


Is c++ the most powerful language?

566


Distinguish between new and malloc and delete and free().

573


What is the difference between cin.read() and cin.getline()?

561


What is the object serialization?

622


Explain stack unwinding.

636


What do you know about near, far and huge pointer?

599


Which bit wise operator is suitable for checking whether a particular bit is on or off?

605


How do you establish an is-a relationship?

621