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 c++ library is string in?

1015


List the advantages of inheritance.

1081


What is an overflow error?

1068


Explain the concept of memory leak?

1052


Explain the purpose of the keyword volatile.

1115


What are arrays c++?

1063


what is the difference between overloading & overriding? give example.

1116


What is abstraction with real time example?

1114


explain the reference variable in c++?

1027


How we can differentiate between a pre and post increment operators during overloading?

1055


How can a struct in c++ differs from a struct in c?

995


What are smart pointers?

2194


What is the use of :: operator in c++?

1075


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

1101


What is a static element?

1025