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

Explain what are accessor methods?

1109


What is the best free c++ compiler for windows?

1096


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

1008


Can you please explain the difference between overloading and overriding?

1078


How to declare an array of pointers to integer?

1126


How does c++ structure differ from c++ class?

1107


Mention the ways in which parameterized can be invoked.

926


Define pointers?

1032


What is #include cmath?

1080


Can I uninstall microsoft c++ redistributable?

1098


What are maps in c++?

950


Difference between pointer to constant vs. Pointer constant

1109


Why do we use iterators?

1068


Differentiate between an array and a list?

1165


Write about a nested class and mention its use?

1088