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...


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

Write a c++ program to display pass and fail for three student using static member function

0 Answers  


1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.

1 Answers   Tech Mahindra,


Which keyword is written to use a variable declared in one class in the other class?

5 Answers   TCS,


what is cast operator?

2 Answers   Microsoft,


What type of loop is a for loop?

0 Answers  


How long to learn object oriented programming?

0 Answers  


Program to check whether a word starts with a capital letter or not.

1 Answers   Infosys,


What are the benefits of polymorphism?

0 Answers  


why to use template classes in c++?

1 Answers  


What are the 4 main oop principles?

0 Answers  


write a program to find 2 power of a 5digit number with out using big int and exponent ?

0 Answers  


In which Scenario you will go for Interface or Abstract Class?

1 Answers   InfoAxon Technologies,


Categories