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

What are the 4 types of library?

1184


Explain binary search.

995


What is encapsulation in C++? Give an example.

1104


Explain what are accessor methods?

1128


What is vector string in c++?

1091


What is a storage class?

1280


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1539


What is an adaptor class in c++?

1200


What are literals in C++?

1028


What is the difference between strcpy() and strncpy()?

1145


Can you explicitly call a destructor on a local variable?

1030


Explain the term memory alignment?

1247


What is polymorphism & list its types in c++?

1067


Does c++ cost money?

996


What is virtual table?

1127