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

In a function declaration what does extern means?

1036


How many static variables are created if you put one static member into a template class definition?

1020


Why null pointer is used?

1034


What can c++ be used for?

1080


What is the difference between public, private, and protected access?

1050


Distinguish between new and malloc and delete and free().

1015


What is the best c++ compiler?

1131


What are pointer-to-members? Explain.

1127


What is the basic difference between C and C++?

1151


Ask to write virtual base class code?

2738


What is flush () in c++?

1068


What are the advantages of using pointers in a program?

1125


Why is c++ a mid-level programming language?

1021


What are the advantages of early binding?

1056


What do you understand by a pure virtual member function?

993