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

class abc
{
int a=4,b=3;
virtual mul(int int)=0;
}

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is general form of pure virtual function? Explain?

1008


Difference between a homogeneous and a heterogeneous container

1153


How does class accomplish data hiding in c++?

1194


Define pre-condition and post-condition to a member function in c++?

1160


Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].

1471


Can you pass an array to a function in c++?

1022


Can static member variables be private?

1191


Do you know about C++ 11 standard?

1097


What is class in c++ with example?

1293


Explain storage qualifiers in c++.

1093


What are namespaces in c++?

1105


Explain method of creating object in C++ ?

1113


Difference between a copy constructor and an assignment operator.

1016


Differentiate between a constructor and a destructor in c++.

1025


Can we use this pointer in a class specific, operator-overloading function for new operator?

1119