When is it necessary to use member-wise initialization
list in C++?

Answers were Sorted based on User's Feedback



When is it necessary to use member-wise initialization list in C++?..

Answer / suresh

const and reference members may only be initialized

Is This Answer Correct ?    15 Yes 4 No

When is it necessary to use member-wise initialization list in C++?..

Answer / saravana

new

Is This Answer Correct ?    5 Yes 8 No

Post New Answer

More OOPS Interview Questions

what is overloading

3 Answers   MindCracker,


Can bst contain duplicates?

0 Answers  


How to deploy web appliction in web logic ?

1 Answers   Unisys,


Can we create object of abstract class?

0 Answers  


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

0 Answers   Microsoft, TCS,


How can i write a code in c# to take a number from the user and then find all the prime numbers till the number entered by the user.

4 Answers   NIIT, TCS,


Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??

1 Answers  


Can we create object of interface?

0 Answers  


What are generic functions and generic classes?

5 Answers  


what is virtual function?

26 Answers   Aspire, HP, Infosys, RoboSoft, TCS,


Templates mean

0 Answers  


There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 Answers  


Categories