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

What is an associative container in c++?

1020


If you want to share several functions or variables in several files maitaining the consistency how would you share it?

945


What is ios flag in c++?

1155


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

2545


Explain the scope of resolution operator.

1064


Difference between a homogeneous and a heterogeneous container

1106


What are the four main data types?

1054


What is the disadvantage of using a macro?

1075


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1226


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3817


What are enumerations?

1076


How would you differentiate between a pre and post increment operators while overloading?

1100


What is the difference between strcpy() and strncpy()?

1087


What is the importance of mutable keyword?

1001


How to access a variable of the structure?

1034