Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / deep

There is couple special case when you need mandatory
constructor initialization list.

a. To initialise a const
b. To initialise a reference

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do the header files usually contains?

999


How do you flush std cout?

1034


Can we define function inside main in c++?

953


Can a function take variable length arguments, if yes, how?

959


What are the four main data types?

1034


What is abstract keyword in c++?

1021


How can you link a c program with a c function?

1005


Name four predefined macros.

989


When should overload new operator on a global basis or a class basis?

1019


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

974


Why is c++ still best?

931


What is c++ course?

984


Define anonymous class.

1013


Is map thread safe c++?

1022


What is the prototype of printf function?

1115