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 / som shekhar

Sorry the keyword is not volatile ,its mutable.
if the member varible of the class is declared as mutable
then you can change its value in a function which is
declared as constant.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does new do in c++?

1027


What are guid?

1184


In the derived class, which data member of the base class are visible?

1071


What are compilers in c++?

1023


What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero

1056


What gives the current position of the put pointer?

942


What is increment operator in c++?

971


Write a program which uses functions like strcmp(), strcpy()? etc

1046


How can you create a virtual copy constructor?

1036


You run a shell on unix system. How would you tell which shell are you running?

1117


What is auto type c++?

1079


Is it possible for a member function to use delete this?

1025


How would you use the functions memcpy(), memset(), memmove()?

1035


what are the iterator and generic algorithms.

1915


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

1026