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

What is the history of c++?

555


When is the copy constructor called?

629


Explain what are single and multiple inheritances in c++?

561


How many types of comments are there in c++?

574


What is operators in c++?

565






List different attributes in C++?

641


Can manipulators fall in love?

559


What are the 3 levels of programming languages?

533


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

1643


What are guid?

686


Is ca high or low level language?

582


Mention the purpose of istream class?

617


What is an adaptor class in c++?

598


How would you call C functions from C++ and vice versa?

634


What is a virtual destructor? Explain the use of it?

545