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

Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

625


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

615


What is a binary file? List the merits and demerits of the binary file usagein C++.

737


What is #include cstdlib in c++?

669


Is c the same as c++?

570






What is null and void pointer?

602


What is java and c++?

670


Is c++ low level?

584


What can c++ be used for?

591


What are the advantages of c++?

600


Why ctype h is used in c++?

533


Difference between pointer to constant vs. Pointer constant

585


Discussion on error handling of C++ .

655


Why is c++ still best?

562


. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?

2767