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...

What is the difference between public, private, protected
inheritance?

Answer Posted / tekle

The type or member can be accessed by any other code in the
same assembly or another assembly that references it.

private

The type or member can only be accessed by code in the same
class or struct.

protected

The type or member can only be accessed by code in the same
class or struct, or in a derived class.

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about near, far and huge pointer?

1141


Can you use the function fprintf() to display the output on the screen?

1247


What is c++ redistributable?

1234


What causes a runtime error c++?

1128


Define a constructor - what it is and how it might be called (2 methods)?

1144


What is the difference between #import and #include in c++?

1110


What is the difference between ++ count and count ++?

1147


Is c++ used anymore?

1096


Can member data be public?

1037


Is string data type in c++?

1038


What is a memory leak c++?

1141


What can c++ be used for?

1101


How can I learn c++ easily?

1084


How would you use the functions sin(), pow(), sqrt()?

1189


Explain the virtual inheritance in c++.

1069