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 is ios class in c++?

1028


What is the difference between set and map in c++?

1093


How will you call C functions from C ++ and vice-versa?

1079


Explain about Virtual Function in C++?

973


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6342


How many types of classes are there in c++?

985


What are put and get pointers?

1066


What is an arraylist c++?

1156


If dog is a friend of boy, is boy a friend of dog?

930


What are the differences between malloc() and calloc()?

1107


Write a c program for binary addition of two 8 bit numbers.

4062


What is namespace std; and what is consists of?

1220


What is the difference between a definition and a declaration?

1005


How do you establish a has-a relationship?

1038


What is public, protected, private in c++?

1100