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

class basex
{
int x;
public:
void setx(int y) {x=y;}
};
class derived : basex {};
What is the access level for the member function "setx" in
the class "derived" above?
a) private
b) local
c) global
d) public
e) protected

Answer Posted / gayatri p

Private

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who invented turbo c++?

1016


Do you know what is overriding?

1103


Explain how we implement exception handling in c++?

1007


How important is c++?

924


What is the c++ code?

1079


How a new operator differs from the operator new?

1058


What is a try block?

1030


How do you clear a set in c++?

1017


How do I tokenize a string in c++?

1024


What is ostream in c++?

958


Why do we need runtime polymorphism in c++?

972


Can constructor be static in c++?

1049


How much maximum can you allocate in a single call to malloc()?

1057


What are dynamic type checking?

982


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

949