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

Should you pass exceptions by value or by reference?

1090


Differentiate between an external iterator and an internal iterator?

946


What is an arraylist c++?

1159


Name four predefined macros.

993


Why is the function main() special?

1047


Do the parentheses after the type name make a difference with new?

1038


What is the difference between a "copy constructor" and an "assignment operator" in C++?

1020


Why are pointers used?

948


What are the benefits of c++?

983


Is c++ the best programming language?

964


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

1010


write a porgram in c++ that reads an integer and print the biggest digit in the number

2209


Explain this pointer?

1003


What are maps in c++?

905


Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

1270