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 / pc1989

x variable();

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between structure and class in c++.

1137


Can a function take variable length arguments, if yes, how?

1069


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

1090


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create

2674


What is ios class in c++?

1176


What are the effects after calling the delete this operator ?

1107


Is swift faster than c++?

1070


What are the benefits of c++?

1105


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

1132


What is flush c++?

1074


What is singleton class in c++?

1093


Incase of a function declaration, what is extern means?

1025


Why is c++ still popular?

1097


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

1024


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

1152