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

Why can you not make a constructor as const?

Answer Posted / sumit kumar

what happens if we make a constructor as const
then object which is not fully constructed,
inside it you can not initialize the instance variable.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can non-public members of another instance of the class be retrieved by the method of the same class?

1074


Is c++ high level programming language?

1127


What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

950


How a new operator differs from the operator new?

1114


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

1070


What is the use of register keyword with the variables?

938


How would perform Pattern Matching in C++?

1228


What are the restrictions apply to constructors and destructors?

1079


What is vector processing?

1139


What are the two main components of c++?

1097


How are Structure passing and returning implemented by the compiler?

1126


What is the C-style character string?

1144


Give an example of run-time polymorphism/virtual functions.

1001


What are the three forms of cin.get() and what are their differences?

1232


What is the use of class in c++?

1076