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 / madhusudan singh

d) public

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write about all the implicit member functions of a class?

1017


Is c++ low level?

991


What is the use of 'this' pointer?

1202


Why pointer is used in c++?

1080


What is a rooted hierarchy?

1100


What does std mean in c++?

1035


What is an operator function? Describe the function of an operator function?

1064


Can a constructor return a value?

1160


Can union be self referenced?

1065


What is the use of endl in c++?

972


What is a modifier in c++?

1078


Which is better turbo c++ or dev c++?

1004


What are c++ manipulators?

1004


What is the purpose of ios::basefield in the following statement?

1198


What is vector string in c++?

1034