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

How do you initialize a class member,
class x {
const int i;
};

Answer Posted / anandam niranjan

i think it's not possible

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2692


What are signs of manipulation?

1069


Specify different types of decision control statements?

858


Explain polymorphism?

1078


Why do we need templates?

991


What are the advantages of using pointers in a program?

1140


What are the 4 types of library?

1182


How the programmer of a class should decide whether to declare member function or a friend function?

1119


Refer to a name of class or function that is defined within a namespace?

1119


Ask to write virtual base class code?

2753


What language is a dll written in?

1022


What is a tuple c++?

1011


We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

1081


Explain deep copy?

1057


Define virtual constructor.

1096