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

private

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

By using c++ with an example describe linked list?

1078


Explain mutable storage class specifier.

1128


What is the difference between an enumeration and a set of pre-processor # defines?

1453


What is a static member?

1092


What is atoi in c++?

1127


Why do we use templates?

1111


If there are two catch statements, one for base and one for derived, which should come first?

1081


What are the classes in c++?

1156


What is the oldest programming language?

1060


What are member functions used in c++?

1208


When should we use multiple inheritance?

1096


Explain virtual destructor?

1252


What is public, protected, private in c++?

1201


What is new in c++?

1153


Define upcasting.

1093