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

Why cout is used in c++?

1079


Does a derived class inherit or doesn't inherit?

1126


What is a literal in c++?

1169


Explain the differences between private, public and protected and give examples.

1074


Which is best c++ or java?

1143


Explain public, protected, private in c++?

1072


What are the various situations where a copy constructor is invoked?

1180


Can we use clrscr in c++?

1133


Are strings mutable in c++?

1198


What does override mean in c++?

1122


What is a stack c++?

1053


Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

1257


What is the difference between public and private data members?

1235


Which one is a preferred language C or C++? Why?

1147


What size is allocated to the union variable?

1131